/*
 * Photo Ashry — Photographer Interface (Phase 4)
 * Extends app.css from Phase 1
 */

/* ══ Multi-step Registration ══ */
.register-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #edf0f7 100%);
    position: relative;
}
.register-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 350px;
    background: linear-gradient(135deg, #001E47, #002F6C 60%, #0A4A8F);
    border-radius: 0 0 40px 40px;
}

.register-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,47,108,.12);
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.register-card .card-header-pa {
    background: linear-gradient(135deg, var(--pa-blue), #0A4A8F);
    padding: 2rem 2.5rem;
    color: #fff;
    text-align: center;
}
.register-card .card-header-pa h2 {
    font-weight: 800;
    margin-bottom: .25rem;
}
.register-card .card-header-pa p {
    opacity: .7;
    font-size: .9rem;
    margin: 0;
}
.register-card .card-body-pa {
    padding: 2rem 2.5rem 2.5rem;
}

/* Steps indicator */
.steps-indicator {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 1.5rem 0;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 0;
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    transition: all .3s ease;
    background: #e9ecef;
    color: var(--pa-gray-600);
    flex-shrink: 0;
}
.step-circle.active {
    background: var(--pa-orange);
    color: #fff;
    box-shadow: 0 4px 15px rgba(247,148,29,.35);
}
.step-circle.completed {
    background: var(--pa-emerald);
    color: #fff;
}
.step-line {
    width: 60px;
    height: 3px;
    background: #e9ecef;
    margin: 0 .25rem;
}
.step-line.completed {
    background: var(--pa-emerald);
}

.step-panel { display: none; }
.step-panel.active { display: block; }

/* Section headings in form */
.form-section-title {
    font-weight: 700;
    color: var(--pa-blue);
    font-size: 1rem;
    margin-bottom: 1rem;
    padding-bottom: .5rem;
    border-bottom: 2px solid rgba(247,148,29,.2);
}
.form-section-title i { color: var(--pa-orange); }

/* ══ Photographer Login ══ */
.login-split {
    min-height: 100vh;
    display: flex;
}
.login-visual {
    flex: 1;
    background: linear-gradient(135deg, #001E47, #002F6C 60%, #0A4A8F);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.login-visual::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0L80 40L40 80L0 40z' fill='rgba(255,255,255,0.015)'/%3E%3C/svg%3E");
}
.login-visual .visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 380px;
}
.login-visual .visual-content img { width: 140px; margin-bottom: 2rem; }
.login-visual .visual-content h1 { font-weight: 800; font-size: 2rem; margin-bottom: 1rem; }
.login-visual .visual-content p { opacity: .7; font-size: 1.05rem; line-height: 1.8; }

.login-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    background: #fff;
}
.login-form-box {
    width: 100%;
    max-width: 440px;
}
.login-form-box h2 { font-weight: 800; color: var(--pa-blue); font-size: 1.6rem; }
.login-form-box .subtitle { color: var(--pa-gray-600); font-size: .9rem; margin-bottom: 2rem; }

/* ══ Photographer Profile Page ══ */
.profile-cover {
    height: 280px;
    background: linear-gradient(135deg, #001E47, #002F6C 60%, #0A4A8F);
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}
.profile-cover.has-image {
    background-size: cover;
    background-position: center;
}
.profile-cover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,.5), transparent);
}

.profile-avatar-wrap {
    margin-top: -70px;
    position: relative;
    z-index: 2;
}
.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,.15);
    object-fit: cover;
    background: var(--pa-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}

.profile-info-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,47,108,.06);
    padding: 2rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    border-radius: 25px;
    font-size: .8rem;
    font-weight: 600;
}
.profile-badge.verified { background: rgba(0,127,95,.1); color: var(--pa-emerald); }
.profile-badge.pending  { background: rgba(247,148,29,.1); color: #B8860B; }
.profile-badge.union    { background: rgba(0,47,108,.08); color: var(--pa-blue); }

.profile-stat-mini {
    text-align: center;
    padding: 1rem;
    border-radius: 16px;
    background: var(--pa-body-bg);
    transition: all .2s ease;
}
.profile-stat-mini:hover { transform: translateY(-2px); }
.profile-stat-mini .value { font-size: 1.4rem; font-weight: 800; color: var(--pa-blue); }
.profile-stat-mini .label { font-size: .75rem; color: var(--pa-gray-600); }

.profile-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: .75rem 0;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.profile-detail-row:last-child { border-bottom: none; }
.profile-detail-row .icon-col {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .85rem;
    flex-shrink: 0;
    background: rgba(0,47,108,.06);
    color: var(--pa-blue);
}
.profile-detail-row .detail-label { font-size: .8rem; color: var(--pa-gray-600); }
.profile-detail-row .detail-value { font-weight: 600; color: var(--pa-blue); font-size: .9rem; }

/* Category pills */
.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .9rem;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 500;
    background: rgba(247,148,29,.08);
    color: var(--pa-orange);
    transition: all .2s;
}
.cat-pill:hover { background: var(--pa-orange); color: #fff; }

/* ══ Responsive ══ */
@media(max-width:991.98px) {
    .login-visual { display: none; }
    .login-form-side { padding: 2rem 1.5rem; }
    .register-card .card-body-pa { padding: 1.5rem; }
    .step-line { width: 30px; }
    .profile-cover { height: 180px; }
    .profile-avatar { width: 100px; height: 100px; font-size: 2rem; }
    .profile-avatar-wrap { margin-top: -50px; }
}

.badge-green {
    background-color: #057f05;
    padding: 0 9px;
    border-radius: 21px;
    color: #e6ffe6;
}
.badge-orange {
    background-color: #c3960b;
    padding: 0 9px;
    border-radius: 7px;
    color: #ffffff;
}
