/* Modern Login Page Styles */
/* SIGA Legacy - Cidesa Group */

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

body.login-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    background: #f5f7fa;
}

/* ========================================
   LOGIN CONTAINER
   ======================================== */
.login-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* ========================================
   QUOTES SIDEBAR (Left)
   ======================================== */
.quotes-sidebar {
    width: 45%;
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2847 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 50px;
    position: relative;
    overflow: hidden;
}

/* Decorative circles */
.quotes-sidebar::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.08);
    top: -100px;
    left: -100px;
}

.quotes-sidebar::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(52, 152, 219, 0.05);
    bottom: -50px;
    right: -50px;
}

.sidebar-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 450px;
}

.sidebar-logo {
    margin-bottom: 50px;
}

.sidebar-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
}

.quote-container {
    margin-bottom: 50px;
}

.quote-text {
    font-size: 24px;
    line-height: 1.6;
    color: #fff;
    font-style: italic;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.quote-text::before {
    content: '\201C';
    font-size: 60px;
    color: rgba(52, 152, 219, 0.5);
    display: block;
    line-height: 0.5;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.company-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.company-name {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.company-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: rgba(255,255,255,0.6);
    font-size: 20px;
    transition: all 0.3s;
}

.social-links a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

/* ========================================
   LOGIN FORM (Right)
   ======================================== */
.login-form-area {
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    background: #fff;
}

.login-form-container {
    width: 100%;
    max-width: 420px;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.login-header p {
    font-size: 15px;
    color: #7f8c8d;
}

/* Form styling */
.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    margin-right: 8px;
    color: #3498db;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e0e5eb;
    border-radius: 8px;
    background: #f8f9fa;
    color: #2c3e50;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="password"]:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%237f8c8d' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Submit button */
.btn-login {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

.btn-login:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f6391 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

/* Error messages */
.login-error {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-left: 4px solid #e74c3c;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.login-error h4 {
    font-size: 14px;
    font-weight: 600;
    color: #c0392b;
    margin-bottom: 5px;
}

.login-error p {
    font-size: 13px;
    color: #e74c3c;
    margin: 0;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.login-footer p {
    font-size: 13px;
    color: #95a5a6;
}

.login-footer a {
    color: #3498db;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .quotes-sidebar {
        width: 40%;
        padding: 40px 30px;
    }

    .login-form-area {
        width: 60%;
        padding: 40px;
    }

    .quote-text {
        font-size: 20px;
    }

    .sidebar-logo img {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }

    .quotes-sidebar {
        width: 100%;
        padding: 40px 30px;
        min-height: auto;
    }

    .quote-container {
        margin-bottom: 30px;
    }

    .company-info {
        display: none;
    }

    .login-form-area {
        width: 100%;
        padding: 40px 30px;
    }

    .sidebar-logo img {
        height: 80px;
    }

    .quote-text {
        font-size: 18px;
    }
}
