

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

.profile-page {
    background: #ffffff;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    padding-bottom: 5rem;
}



.profile-hero {
    background: #2c3e5e;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 2.5rem;
    border-radius: 5px;
}

    .profile-hero .conf-hero-title {
        position: relative;
        z-index: 1;
        font-size: 2.8rem;
        font-weight: 800;
        color: #ffffff;
        letter-spacing: 4px;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
    }



.user-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

    .user-card .card-body {
        padding: 2rem 1.5rem;
    }

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.2rem;
}

.user-email {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
}

.user-field {
    margin-bottom: 0.85rem;
    text-align: left;
}

    .user-field label {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: #777;
        margin-bottom: 0.3rem;
    }

    .user-field .form-control {
        background: #f9fafb;
        border: 1.5px solid #e5e7eb;
        border-radius: 8px;
        font-size: 0.88rem;
        color: #333;
        padding: 0.5rem 0.85rem;
    }

.user-actions .btn-primary {
    background-color: #0b2d5f;
    border-color: #0b2d5f;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    transition: background 0.18s;
}

    .user-actions .btn-primary:hover {
        background-color: #D4A017;
        border-color: #D4A017;
    }


.profile-page .card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.profile-page .card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b2d5f;
    margin-bottom: 0.75rem;
}

.profile-page .card .small {
    font-size: 0.82rem;
    color: #555;
    margin-bottom: 0.35rem;
}

    .profile-page .card .small strong {
        color: #333;
    }



.upcoming-section {
    background: #ffffff;
    text-align: center;
}

    .upcoming-section .section-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 1.5rem;
        padding-bottom: 0.6rem;
        border-bottom: 2px solid #f3f4f5;
        text-align: center;
    }

.conference-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.5rem 0;
    text-align: left;
}

.conf-date-badge {
    flex-shrink: 0;
    width: 68px;
    min-height: 68px;
    background-color: #F5C400;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
}

.conf-day {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.conf-month {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.conf-thumb {
    flex-shrink: 0;
    width: 140px;
}

    .conf-thumb img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 6px;
    }

.conf-info {
    flex: 1;
}

.conf-title {
    font-size: 1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.2rem;
}

.conf-subtitle {
    color: #0b8f1e;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.conf-desc-text {
    font-size: 0.83rem;
    color: #6c757d;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.conf-divider {
    border: 0;
    border-top: 1px solid #f3f4f5;
    margin: 0;
}


.btn-book {
    display: inline-block;
    padding: 0.38rem 1.2rem;
    border-radius: 50px;
    background-color: #0b8f1e;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 600;
    border: 2px solid #0b8f1e;
    cursor: default;
    opacity: 0.75;
}



.previous-section {
/*    background: #f3f4f5;*/
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

    .previous-section .previous-title {
        font-size: 1.15rem;
        font-weight: 700;
        color: #333;
        letter-spacing: 0;
        text-transform: none;
        text-align: center;
        margin-bottom: 1.25rem;
        padding-bottom: 0.6rem;
        border-bottom: 2px solid #e5e7eb;
        background: none;
    }

.prev-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
}

.prev-list-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.prev-thumb {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.prev-list-item h5 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #333;
}

.prev-list-item .text-muted {
    font-size: 0.78rem;
    color: #6c757d;
}




@media (max-width: 992px) {
    .profile-hero .conf-hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .profile-hero {
        padding: 40px 0;
    }

        .profile-hero .conf-hero-title {
            font-size: 1.8rem;
        }

    .conference-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .conf-thumb {
        width: 100%;
    }

        .conf-thumb img {
            height: 160px;
        }

    .previous-section {
        margin-top: 1.5rem;
    }
}



.btn-delete-avatar {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.9rem;
    background: transparent;
    color: #dc2626;
    border: 1.5px solid #dc2626;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

    .btn-delete-avatar:hover {
        background: #fef2f2;
    }

    .btn-delete-avatar:disabled {
        opacity: 0.55;
        cursor: not-allowed;
    }
