﻿
/* Fond général en dégradé */
body {
    background: linear-gradient(to right, #4b66b8, #6e89f1);
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
}

/* Conteneur global centré verticalement */
.content-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 30px;
}

/* Barre supérieure */
.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background-color: rgba(48, 68, 141, 0.95);
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 999;
}

    /* Bouton Déconnexion */
    .header-bar .btn-logout {
        background-color: #ffffff;
        color: #30448d;
        font-weight: 500;
        padding: 5px 15px;
        border-radius: 20px;
        border: 1px solid #ccc;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

        .header-bar .btn-logout:hover {
            background-color: #f6a723;
            color: white;
        }

/* Conteneur central blanc avec ombrage */
.content-container {
    background-color: #ffffffee;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 1200px;
}

/* Cartes de profil */
.profile-card {
    background: linear-gradient(to bottom right, #ffffff, #f2f4ff);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s;
}

    .profile-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

.profile-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    direction: rtl;
    color: #333;
}

/* Bouton Consulter stylisé */
.btn-login {
    background: linear-gradient(to right, #f6a723, #f49b00);
    color: white;
    border: none;
    font-weight: bold;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 15px;
    transition: background 0.3s ease;
}

.btn-login:hover {
        background: linear-gradient(to right, #e59610, #dd8600);
        color: white;
}

.orange-title {
    color: orange;
}

.small-text {
    font-size: 0.9rem;
}
/* ===== USER HEADER ===== */

.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #198754);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
}

.user-info {
    line-height: 1.2;
}
