* {
    box-sizing: border-box;
    font-family: "Courier New", monospace;
}

body {
    margin: 0;
    background: black;
    /* overflow: hidden; */
}

.mac-window {
    z-index: 2;
    position: relative;
    
    padding: 20px;
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.mac-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

/* Couleurs macOS */
.mac-dot.red {
    background: #ff5f56;
}

.mac-dot.yellow {
    background: #ffbd2e;
}

.mac-dot.green {
    background: #27c93f;
}


h1{
    color: #00ff66;
    text-align: center;}


p{
    color: #00ff66;
    text-align: center;
}



/* Canvas Matrix */
#matrix {
    position: fixed;
    inset: 0;
    z-index: 0;
}

/* Login box */
.login-box {
    backdrop-filter: blur(12px);    
  
    position: relative;
   
    z-index: 1;
    width: 40%;
    padding: 30px;
    
    border: 2px solid #00ff66;
    margin: auto;
    background: transparent;
    transform: translateY(30%);

    border-radius: 10px;
}



input {
    width: 100%;
    padding: 10px;
    margin-top: 12px;
    background: black;
    border: 1px solid #00ff66;
    color: #00ff66;
    outline: none;
    border-radius: 8px;
}

input::placeholder {
    color: rgba(0,255,100,0.4);
}



button {
    width: 100%;
    padding: 12px;
    background: #00ff66;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 10px;
}

button:hover {
    background: #00cc55;
}

#message {
    text-align: center;
    margin-top: 15px;
}


.chronometre {
    font-family: "Courier New", monospace;
    font-size: 35px;
    color: #00ff66;
    text-align: center;
    margin-top: 20px;
    position: relative;
    z-index: 1;
   
}

/* Conteneur des inputs */
#passwordBox {
    display: flex;
    flex-direction: row; /* affichage en colonne */
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

/* Inputs du mot de passe */
.password-input {
    width: 35px;
    height: 35px;
    background: #1c1c1e;
    border: 1px solid #3a3a3c;
    color: #00ff66;
    font-size: 20px;
    text-align: center;
    font-family: monospace;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;

}

/* Focus */
.password-input:focus {
    border-color: #00ff66;
    box-shadow: 0 0 6px rgba(0, 255, 102, 0.6);
}

