/* ===== ERROR PAGE STYLES ===== */

/* Reset and base styles for error page */
.error_reset * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Reset du body pour éviter les margins du user agent stylesheet */
body {
    margin: 0 !important;
    padding: 0 !important;
}

.error_body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.error_container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 1000px;
    width: 90%;
    padding: 60px;
    text-align: center;
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 400px;
    grid-gap: 80px;
    align-items: center;
}

.error_left {
    text-align: left;
}

.error_right {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo */
.error_logo-container {
    margin-bottom: 40px;
}

.error_logo {
    width: 200px;
    height: auto;
    max-width: 100%;
}

/* Titles */
.error_title {
    font-size: 48px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

.error_subtitle {
    font-size: 22px;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.5;
}

/* Phone Mockup */
.error_phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(145deg, #2d3748, #1a202c);
    border-radius: 40px;
    padding: 20px;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.3),
        inset 0 2px 0 rgba(255,255,255,0.1),
        inset 0 -2px 0 rgba(0,0,0,0.2);
}

.error_phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 28px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

.error_phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
    background: #1a202c;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.error_phone-button {
    position: absolute;
    right: -3px;
    top: 120px;
    width: 6px;
    height: 60px;
    background: #1a202c;
    border-radius: 3px;
}

.error_phone-content {
    text-align: center;
    color: #667eea;
}

.error_phone-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.error_phone-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.error_phone-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Messages */
.error_message {
    background: #f8f9ff;
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    text-align: left;
}

.error_message h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 600;
}

.error_message p {
    color: #555;
    line-height: 1.6;
}

/* Mobile Icon Button */
.error_mobile-icon {
    display: inline-flex;
    align-items: center;
    background: #667eea;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.error_mobile-icon:hover {
    background: #5a67d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.error_mobile-icon svg {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

/* Features List */
.error_features-list {
    text-align: left;
    margin: 30px 0;
}

.error_features-list li {
    list-style: none;
    padding: 12px 0;
    color: #555;
    position: relative;
    padding-left: 30px;
    font-size: 16px;
    line-height: 1.5;
}

.error_features-list li:before {
    content: "📱";
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 18px;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablet */
@media (max-width: 1024px) {
    .error_container {
        grid-template-columns: 1fr;
        grid-gap: 50px;
        padding: 50px 40px;
        text-align: center;
    }
    
    .error_left {
        text-align: center;
    }
    
    .error_phone-mockup {
        width: 250px;
        height: 500px;
    }
}

/* Desktop Login Form Styles */
.desktopLogin_form {
    max-width: 400px;
    margin: 0 auto;
}

.desktopLogin_formGroup {
    margin-bottom: 20px;
}

.desktopLogin_label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.desktopLogin_input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafbfc;
    box-sizing: border-box;
}

.desktopLogin_input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.desktopLogin_button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.desktopLogin_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.3);
}

.desktopLogin_alert {
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    background-color: #fdf2f2;
    color: #e74c3c;
    border: 1px solid #fadbd8;
}

/* Mobile */
@media (max-width: 768px) {
    .error_container {
        padding: 30px 20px;
        grid-gap: 30px;
    }
    
    .error_title {
        font-size: 32px;
    }
    
    .error_subtitle {
        font-size: 18px;
    }
    
    .error_logo {
        width: 160px;
    }
    
    .error_phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .error_phone-logo {
        width: 60px;
    }
    
    .error_phone-title {
        font-size: 16px;
    }
    
    .error_phone-subtitle {
        font-size: 12px;
    }
}