/* FlipADeals 2.0 — Profile page dark theme */
:root {
    --fd-bg: #080f20;
    --fd-panel: #111d33;
    --fd-panel-soft: #182842;
    --fd-border: #2a3d59;
    --fd-text: #f4f8ff;
    --fd-muted: #b5c5dd;
    --fd-accent: #38bdf8;
}

body {
    background: radial-gradient(ellipse at top, #172b4c 0%, var(--fd-bg) 65%);
    color: var(--fd-text);
    min-height: 100vh;
}

/* Main profile header — replace the original orange theme */
body > header {
    background: #111d33;
    color: #f4f8ff;
    border-bottom: 1px solid #2a3d59;
}

body .profile-container {
    background: var(--fd-panel);
    color: var(--fd-text);
    border: 1px solid var(--fd-border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .26);
    border-radius: 18px;
    max-width: 900px;
}

body .profile-container h2,
body .profile-container h3,
body .profile-container h4,
body .profile-container strong {
    color: var(--fd-text);
}

body .profile-avatar {
    border: 4px solid var(--fd-accent);
    box-shadow: 0 0 0 7px rgba(56, 189, 248, .12);
}

body .profile-meta,
body .auction-date,
body .last-bid-info {
    color: var(--fd-muted);
}

body .profile-bio,
body .rating-box,
body .credits-box {
    background: var(--fd-panel-soft);
    color: var(--fd-text);
    border: 1px solid var(--fd-border);
    border-radius: 12px;
}

body .rating-title { color: var(--fd-text); }
body .star-input label { color: #8da0bb; }
body .star-input label:hover,
body .star-input label:hover ~ label,
body .star-input input:checked ~ label { color: #fbbf24; }

body .btn,
body .btn-message,
body .rate-btn {
    background: #1678bd;
    color: #fff;
    border-radius: 9px;
    border: 1px solid #329ad8;
    font-weight: 700;
    transition: background .18s, transform .18s;
}

body .btn:hover,
body .btn-message:hover,
body .rate-btn:hover {
    background: #2196df;
    transform: translateY(-1px);
}

body .auction-item {
    background: var(--fd-panel-soft);
    border: 1px solid var(--fd-border);
    border-radius: 10px;
    margin-bottom: 10px;
    color: var(--fd-text);
}

body .auction-item:hover { background: #203553; }
body .auction-link { color: #7dd3fc; }
body .auction-link:hover { color: #e0f2fe; }
body .auction-item.new-bid {
    background: #29321f;
    border-left: 4px solid #fbbf24;
}

body .edit-forms {
    background: var(--fd-panel-soft);
    color: var(--fd-text);
    border: 1px solid var(--fd-border);
}

body .edit-forms label {
    color: var(--fd-text);
}

body .edit-forms input[type="checkbox"] {
    width: auto;
    margin: 0 8px 0 0;
    accent-color: var(--fd-accent);
}

body .edit-forms input,
body .edit-forms textarea {
    background: #0b172a;
    color: var(--fd-text);
    border: 1px solid #49617d;
    border-radius: 8px;
}

body .edit-forms input:focus,
body .edit-forms textarea:focus {
    outline: 2px solid var(--fd-accent);
    outline-offset: 1px;
}

body .bottom-nav {
    background: #101e33;
    border-top: 1px solid var(--fd-border);
}
body .bottom-nav a { color: #dbeafe; }
body .bottom-nav a:hover { color: var(--fd-accent); }

@media (max-width: 700px) {
    body .profile-container {
        width: calc(100% - 20px);
        margin: 16px auto;
        padding: 18px 12px;
    }
    body .profile-avatar { width: 112px; height: 112px; }
    body .auction-item { overflow-wrap: anywhere; }
}
