@import url('theme_new.css');

.rh-profile-page {
    padding-top: 130px;
    padding-bottom: 100px;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.rh-profile-header {
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.rh-profile-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-purple); flex-shrink: 0; }
.rh-profile-header h1 { font-family: var(--font-display); font-size: 22px; color: var(--text); margin: 0 0 4px; }
.rh-profile-header .agency { color: var(--accent-blue); font-size: 13px; margin: 0 0 10px; }
.rh-profile-header .bio { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin: 0; max-width: 500px; }
.rh-profile-header .rh-wishlist-link {
    margin-left: auto;
    border: 1px solid var(--border-strong);
    color: var(--text);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}
.rh-profile-header .rh-wishlist-link:hover { border-color: var(--accent-purple); background: rgba(139, 92, 246, .12); }

.rh-profile-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }

.rh-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.rh-form-card h3 { font-family: var(--font-display); font-size: 16px; margin: 0 0 4px; color: var(--text); }
.rh-form-card .rule { width: 34px; height: 2px; background: var(--accent-gradient); border-radius: 2px; margin-bottom: 18px; }

.rh-detail-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.rh-detail-row:last-child { border-bottom: none; }
.rh-detail-row .label { color: var(--text-faint); text-transform: uppercase; letter-spacing: 1px; font-size: 11px; font-family: var(--font-display); }
.rh-detail-row .value { color: var(--text); text-align: right; }

.rh-field { margin-bottom: 14px; }
.rh-field label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-faint);
    margin-bottom: 6px;
    font-family: var(--font-display);
}
.rh-field input[type="text"],
.rh-field input[type="email"],
.rh-field input[type="password"],
.rh-field select,
.rh-field textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 11px 14px;
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
}
.rh-field select option { background: var(--bg-elevated); color: var(--text); }
.rh-field input:focus, .rh-field select:focus, .rh-field textarea:focus { border-color: var(--accent-purple); }
.rh-field textarea { min-height: 70px; resize: vertical; }

.rh-icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 40px);
    gap: 8px;
    max-height: 140px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
}
.rh-icon-option { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; cursor: pointer; border: 2px solid transparent; opacity: .7; }
.rh-icon-option img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rh-icon-option:hover { opacity: 1; }
.rh-icon-option.selected { opacity: 1; border-color: var(--accent-purple); }

.rh-profile-submit {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 6px;
}

@media (max-width: 800px) {
    .rh-profile-page { padding-top: 120px; }
    .rh-profile-layout { grid-template-columns: 1fr; }
    .rh-profile-header .rh-wishlist-link { margin-left: 0; }
}
