* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: #f5f5f5;
    color: #1f222a;
}

/* HEADER */
.header {
    background: #1f222a;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header .logo {
    height: 50px;
}

.header h1 {
    color: #edbf1e;
    font-size: 1.8rem;
}

/* MAIN */
.container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 50px 20px;
    gap: 30px;
}

/* FORM BOX */
.form-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

.form-box h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1f222a;
}

.form-box input {
    width: 100%;
    padding: 12px 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.form-box button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #edbf1e;
    color: #fff;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.form-box button:hover {
    background: #cc9600;
}

.switch-text {
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #555;
}

.switch-text span {
    color: #1f222a;
    font-weight: bold;
    cursor: pointer;
}

/* Cacher login box par défaut */
#login-box {
    display: none;
}

/* RESPONSIVE */
@media(max-width:500px){
    .container {
        padding: 20px 10px;
    }
    .header h1 {
        font-size: 1.4rem;
    }
}



/* Container notifications */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Notification */
.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1f222a; /* fond sombre */
    color: #fff;
    padding: 15px 18px;
    border-radius: 10px;
    min-width: 280px;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateX(120%);
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    transition: all 0.5s ease;
    pointer-events: auto;
}

/* Apparition */
.notification.show {
    opacity: 1;
    transform: translateX(0);
}

/* Icon à gauche */
.notification .notif-icon {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Message */
.notification .notif-message {
    flex: 1;
}

/* Bouton fermer */
.notification .notif-close {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Types */
.notification.success {
    background-color: #28a745;
}

.notification.error {
    background-color: #dc3545;
}

.notification.info {
    background-color: #007bff;
}
