/* =========================================
   Volunteers Plugin - Profile & Edit Form
   ========================================= */

.vol-profile-page {
    padding: 32px 16px 64px;
    background: #f6f8fb;
}

.vol-profile-container {
    max-width: 1000px;
    margin: 0 auto;
}

.vol-profile-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #2563eb;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.vol-profile-back:hover {
    color: #1d4ed8;
}

.vol-profile-card {
    background: #fff;
    border: 1px solid #e6eaf0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.vol-profile-cover {
    position: relative;
    padding: 50px 20px 50px;
    background: #2563eb;
    text-align: center;
}

.vol-profile-cover-inner {
    max-width: 800px;
    margin: 0 auto;
}

.vol-profile-head {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0px 32px 34px;
    margin-top: -100px;
}

.vol-profile-photo {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vol-profile-avatar {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 6px solid #fff;
    background: #fff;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.15);
}

.vol-profile-avatar-placeholder {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 4rem;
    font-weight: 700;
    background: #2563eb;
}

.vol-profile-status {
    position: absolute;
    right: 0;
    bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #10b981;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35);
}

.vol-profile-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    padding: 28px 32px 36px;
    border-top: 1px solid #eef2f7;
}

.vol-profile-main {
    min-width: 0;
}

.vol-profile-section {
    background: #fff;
}

.vol-profile-section h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 1.15rem;
}

.vol-profile-content {
    color: #475569;
    line-height: 1.7;
}

.vol-profile-interest {
    margin: 0;
    padding: 14px 16px;
    background: #f8fafc;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    color: #334155;
    font-weight: 500;
}

.vol-profile-sidebar {
    align-self: start;
}

.vol-profile-contact {
    padding: 22px;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    background: #f8fafc;
}

.vol-profile-contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vol-profile-contact-list li {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.vol-profile-contact-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vol-contact-label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.vol-contact-value {
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
}

a.vol-contact-value:hover {
    color: #2563eb;
}

.vol-profile-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.vol-profile-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dbe3ec;
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.vol-profile-social a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.vol-profile-edit {
    margin-top: 28px;
    padding: 24px;
    border: 1px solid #e6eaf0;
    border-radius: 14px;
    background: #f8fafc;
}

.vol-profile-edit h2 {
    margin: 0 0 18px;
    font-size: 1.15rem;
}

.vol-profile-notice {
    margin-bottom: 18px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #dcfce7;
    color: #166534;
    font-weight: 600;
}

.vol-edit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.vol-edit-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vol-edit-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.vol-edit-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.vol-edit-field textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
}

.vol-edit-field-full {
    grid-column: 1 / -1;
}

.vol-edit-button {
    margin-top: 18px;
    padding: 11px 22px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.vol-edit-button:hover {
    background: #1d4ed8;
}

@media (max-width: 900px) {
    .vol-profile-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .vol-profile-cover {
        padding: 20px 16px 70px;
    }

    .vol-profile-page {
        padding: 20px 12px 48px;
    }

    .vol-profile-head {
        justify-content: center;
        margin-top: -75px;
        padding: 0 20px 28px;
    }

    .vol-profile-avatar,
    .vol-profile-avatar-placeholder {
        width: 160px;
        height: 160px;
    }

    .vol-profile-avatar-placeholder {
        font-size: 3rem;
    }

    .vol-profile-body {
        padding: 24px 20px 30px;
    }

    .vol-profile-social {
        justify-content: center;
    }

    .vol-profile-contact-list {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .vol-edit-grid {
        grid-template-columns: 1fr;
    }
}