﻿html, body {
    background-color: white;
    height: 100%;
    margin: 0;
    padding: 0;
}

.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Centrage vertical et horizontal */
    background-color: #f8f9fa;
    padding: 1rem;
}

.login-box {
    background-color: white;  
    max-width: 400px;
    text-align: center;
    width: 300px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    background-color: #fff;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    color: #555;
}

.login-input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.forgot-link {
    text-align: right;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.login-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    color: white;
    border: none;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.login-button:hover {
        background-color: #0056b3;
    }
.password-progress .mud-progress-linear-bar {
    transition: width 0.4s ease, background-color 0.4s ease;
}
 
.login-box {
    animation: fadeInUp 0.6s ease both;
}
  
.mud-text.color-error {
    color: #d32f2f  
}

.mud-text.color-warning {
    color: #f57c00 
}

.mud-text.color-success {
    color: #388e3c 
}
.reset-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 100vh;
    background-color: #f8f9fa;
    padding: 2rem;
}
 
@media (max-width: 768px) {
    .reset-wrapper {
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }
}
.reset-box {
    background-color: #fff;
    max-width: 400px;
    width: 100%;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: fadeInUp 0.6s ease both;
}
.password-strength-bar {
    width: 100%;
    height: 6px;
    background-color: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 4px;
}

    .password-strength-bar .bar-fill {
        height: 100%;
        transition: width 0.4s ease, background-color 0.4s ease;
    }
.mud-input-input {
    caret-color: currentColor;
}
/* Animation d’apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}