/* Fond général et base */
body {
    background-color: #0f172a;
    color: white;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Centrage vertical et horizontal */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75vh;
}

.container {
    width: 90%;
    max-width: 600px;
    text-align: center;
}

/* Logo + titre */
.title {
    margin-bottom: 40px;
}

.title img {
    width: 80px;
}

.title h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin: 0;
    margin-top:2vh;
}

/* Message de bienvenue */
.main-content p {
    font-size: 1.4rem;
    margin-bottom: 30px;
}

/* Boutons d’accès */
.forms {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.forms form {
    margin: 0;
}

button {
    background: linear-gradient(to bottom, #02ff5b, #00cc44);
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

button:hover {
    background: linear-gradient(to bottom, #00e65f, #00b33c);
    transform: translateY(-2px);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 255, 91, 0.3);
}

/* Formulaire de connexion */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
    text-align: left;
}

label {
    font-weight: 600;
    font-size: 1rem;
}

input {
    background-color: transparent;
    border: 2px solid #00cc44;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

input:focus {
    border-color: #02ff5b;
    box-shadow: 0 0 5px rgba(2, 255, 91, 0.5);
}

/* Message d'erreur */
.error {
    color: #ff4f4f;
    background-color: rgba(255, 79, 79, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: bold;
}

.track-count {
    margin-top:5vh;
    font-style: italic;
    color:rgba(255, 255, 255, 0.5);
}


.track-count strong {
    font-weight: bold;
}