/* GeoGRDR - Page de connexion - Landing Page */

:root {
    --grdr-orange: #E86D2C;
    --grdr-orange-light: #FF8C4A;
    --grdr-teal: #2A8B8B;
    --grdr-ocre: #C6893C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    background: #ffffff;
    font-family: 'Quicksand', sans-serif;
}

.landing-wrapper {
    height: 100vh;
    display: flex;
}

/* Partie gauche - Branding */
.branding-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 3.2rem 3.2rem;
}

/* Header avec logo + titre alignés */
.brand-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.4rem;
}

.logo-main {
    height: 160px;
    width: auto;
    margin-right: 3.2rem;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

/* Titre principal - style calligraphique comme le logo */
.app-tagline {
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    color: var(--grdr-teal);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.6rem;
}

/* Sous-titre discret */
.app-name {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

/* Features grid - pleine largeur */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    width: 100%;
}

.feature-card {
    background: #f8f9fa;
    border-radius: 6.4px;
    padding: 0.8rem;
    border-left: 4px solid var(--grdr-orange);
    /* Pas d'interaction - cartes purement informatives */
}

.feature-card i {
    font-size: 2rem;
    color: var(--grdr-orange);
    margin-bottom: 0.8rem;
}

.feature-card h6 {
    font-weight: 700;
    font-size: 1.12rem;
    color: #333;
    margin-bottom: 0.4rem;
}

.feature-card p {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Partie droite - Login */
.login-section {
    width: 420px; /* Augmenté pour plus de présence */
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.4rem;
    position: relative;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3); /* Ombre pour détacher du reste */
}

.login-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px; /* Plus visible */
    height: 100%;
    background: linear-gradient(180deg, var(--grdr-orange) 0%, var(--grdr-ocre) 100%);
}

.login-card {
    width: 100%;
    max-width: 320px; /* Plus large pour mieux remplir l'espace */
}

.login-header {
    text-align: center;
    margin-bottom: 1.6rem;
}

.login-header h2 {
    font-size: 1.8rem; /* Plus grand pour plus d'impact */
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-header p {
    color: rgba(255,255,255,0.6); /* Plus visible */
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.48rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.form-control {
    width: 100%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4.8px;
    padding: 0.8rem 0.96rem;
    color: #fff !important;
    font-size: 0.84rem;
    font-family: 'Quicksand', sans-serif;
    transition: all 0.2s ease;
    -webkit-text-fill-color: #fff !important; /* Fix Safari autocomplete */
}

.form-control::placeholder {
    color: rgba(255,255,255,0.3);
}

.form-control:focus {
    outline: none;
    border-color: var(--grdr-orange);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 1.6px rgba(232, 109, 44, 0.2);
}

/* Fix autocomplete background */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px rgba(255,255,255,0.08) inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.btn-login {
    width: 100%;
    background: linear-gradient(135deg, var(--grdr-orange) 0%, var(--grdr-orange-light) 100%);
    border: none;
    border-radius: 4.8px;
    padding: 0.88rem;
    color: #fff;
    font-weight: 600;
    font-size: 0.84rem;
    font-family: 'Quicksand', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.btn-login:hover {
    transform: translateY(-1.6px);
    box-shadow: 0 4.8px 16px rgba(232, 109, 44, 0.4);
}

.login-footer {
    text-align: center;
    margin-top: 1.2rem;
    padding-top: 0.96rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.login-footer small {
    color: rgba(255,255,255,0.35);
    font-size: 0.68rem;
}

.alert {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 4.8px;
    padding: 0.72rem 0.88rem;
    color: #ff6b6b;
    font-size: 0.76rem;
    margin-bottom: 1.2rem;
}

/* Responsive minimal - uniquement pour mobile/tablette */
@media (max-width: 768px) {
    .landing-wrapper {
        flex-direction: column;
    }
    .branding-section {
        padding: 1.6rem;
    }
    .brand-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .logo-main {
        margin-right: 0;
        margin-bottom: 0.8rem;
        height: 112px;
    }
    .login-section {
        width: 100%;
        height: auto;
        min-height: 50vh;
    }
}
