/* css/login.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
	
  background-image: url('../images/logoVect S4F_TRESGRAND_2500x2231.png');
  background-repeat: no-repeat;  /* Évite la répétition */
  background-position: center top;  /* Positionne le logo en haut au centre */
  background-size: contain;  /* Adapte la taille sans déformation */
}
/*
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}*/

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 420px;
    border: 1px solid rgba(255,255,255,0.2);
}

.logo {
    text-align: center;
    margin-bottom: 35px;
}

.logo h1 {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    color: #7f8c8d;
    font-size: 15px;
    font-weight: 400;
}

.alert {
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 12px;
    font-weight: 500;
    font-size: 14px;
    border-left: 4px solid;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-color: #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-color: #dc3545;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    letter-spacing: 0.5px;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 16px;
    background: #f8f9fa;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
}

input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.4);
}

.btn:active {
    transform: translateY(0);
}

.links {
    text-align: center;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
}

.links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.links a:hover {
    color: #764ba2;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-container {
        padding: 32px 24px;
        margin: 10px;
        border-radius: 16px;
    }
    
    .logo h1 {
        font-size: 28px;
    }
}
