/* ============================================================
   profile.css — SIPDAM Profile Edit Page
   Theme: Light Green
   ============================================================ */

:root {
    --prf-green:    #1a7a4a;
    --prf-green-m:  #2d9e63;
    --prf-green-l:  #e8f7ee;
    --prf-green-l2: #d0eedd;
    --prf-border:   #d1e8da;
    --prf-t1:       #0f172a;
    --prf-t2:       #334155;
    --prf-t3:       #64748b;
    --prf-t4:       #94a3b8;
    --prf-bg:       #f0f7f3;
    --prf-white:    #ffffff;
    --prf-font:     'Figtree', 'Segoe UI', sans-serif;
    --prf-rose:     #dc2626;
    --prf-rose-l:   #fff1f2;
}

.prf-wrap { padding: 28px 0; background: var(--prf-bg); min-height: 100vh; }
.prf-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Header ── */
.prf-icon-wrap {
    width: 54px; height: 54px; border-radius: 12px;
    background: linear-gradient(135deg, var(--prf-green), var(--prf-green-m));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
    box-shadow: 0 4px 14px rgba(26,122,74,0.25);
}
.prf-page-title {
    font-family: var(--prf-font); font-size: 24px;
    font-weight: 700; color: var(--prf-t1); line-height: 1;
}
.prf-page-sub { font-size: 12px; color: var(--prf-t3); margin-top: 5px; }

/* ── Grid ── */
.prf-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .prf-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Card ── */
.prf-card {
    background: var(--prf-white);
    border: 1px solid var(--prf-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.prf-avatar-big {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--prf-green), var(--prf-green-m));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 16px;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(26,122,74,0.2);
}

.prf-user-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--prf-t1);
    text-align: center;
}

.prf-user-email {
    font-size: 13px;
    color: var(--prf-t3);
    text-align: center;
    margin-top: 4px;
    margin-bottom: 24px;
}

.prf-info-list {
    border-top: 1px solid var(--prf-border);
    padding-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.prf-info-item {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
}

.prf-info-lbl {
    color: var(--prf-t3);
    font-weight: 500;
}

.prf-info-val {
    color: var(--prf-t1);
    font-weight: 600;
}

/* ── Form Fields ── */
.prf-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--prf-t1);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prf-card-title i {
    color: var(--prf-green);
}

.prf-card-sub {
    font-size: 12px;
    color: var(--prf-t3);
    margin-bottom: 24px;
}

.prf-form-fields {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.prf-form-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.prf-form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--prf-t2);
}

.prf-input {
    background: var(--prf-bg);
    border: 1px solid var(--prf-border);
    color: var(--prf-t1);
    border-radius: 10px;
    padding: 11px 14px;
    font-family: var(--prf-font);
    font-size: 13px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.prf-input:focus {
    border-color: var(--prf-green);
    box-shadow: 0 0 0 3px rgba(26,122,74,0.08);
}

.prf-err {
    font-size: 11px;
    color: var(--prf-rose);
    margin-top: 2px;
}

/* ── Buttons ── */
.prf-btn-primary {
    background: linear-gradient(135deg, var(--prf-green), var(--prf-green-m));
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 11px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(26,122,74,0.25);
    align-self: flex-start;
}

.prf-btn-primary:hover {
    transform: translateY(-2px);
    opacity: .95;
}

.prf-btn-logout-full {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    background: var(--prf-rose);
    border: 1px solid var(--prf-rose);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    font-family: var(--prf-font);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(220,38,38,0.2);
}

.prf-btn-logout-full:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(220,38,38,0.3);
}

.prf-alert {
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.prf-alert-ok {
    background: var(--prf-green-l);
    border: 1px solid var(--prf-green-l2);
    color: var(--prf-green);
}
