/* Styles pour la barre de navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    margin-right: 1.5rem;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    margin-right: 2rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.navbar-nav li {
    margin-right: 1.5rem;
}

.navbar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar-nav a:hover,
.navbar-nav a.active {
    color: #D2035D;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.btn-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background-color: #D2035D;
    color: #ffffff;
    border-color: #D2035D;
}

.btn-primary:hover {
    background-color: #000002;
    border-color: #000002;
    box-shadow: 0 5px 15px rgba(115, 101, 240, 0.3);
    transform: translateY(-2px);
}

.user-menu {
    position: relative;
}

.user-button {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-weight: 500;
}

.user-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

.user-button img,
.user-button i {
    margin-right: 0.5rem;
}

.user-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    width: 200px;
    background-color: #222;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: none;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown li {
    list-style: none;
    padding: 0;
}

.user-dropdown a,
.user-dropdown button {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
    background-color: rgba(115, 101, 240, 0.2);
    color: #D2035D;
}

.user-dropdown hr {
    border: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

/* Styles pour le formulaire de login */
.login-container {
    max-width: 400px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.login-container h1 {
    color: #222;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    border-color: #D2035D;
    box-shadow: 0 0 0 3px rgba(115, 101, 240, 0.2);
    outline: none;
}

.login-footer {
    margin-top: 1.5rem;
    text-align: center;
}

.login-footer a {
    color: #D2035D;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .navbar-nav {
        margin-top: 1rem;
        width: 100%;
        flex-wrap: wrap;
    }

    .navbar-nav li {
        margin-right: 1rem;
        margin-bottom: 0.5rem;
    }
}
