/* ============================================
   COMMON AUTH PAGES STYLES (Login & SelectDatabase)
   ============================================ */

body {
    background: linear-gradient(180deg, #E8E8E8 0%, #D0D0D0 50%, #C8C8C8 100%);
    min-height: 100vh;
}

.account-pages {
    width: 100%;
    padding-top: 10vh;
    padding-bottom: 3rem;
}

.auth-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

/* Left Side - Logo Area */
.auth-left {
    background: linear-gradient(180deg, #4A7C59 0%, #3D6B4A 50%, #2D5A3A 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.auth-left .logo-area {
    text-align: center;
}

.auth-left .logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #D4A84B 0%, #C9A227 50%, #A68523 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.auth-left .logo-icon i {
    font-size: 50px;
    color: #fff;
}

.auth-left h2 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 2rem;
}

.auth-left .version {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.auth-left .copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    margin-top: 30px;
}

/* Right Side - Content Area */
.auth-right {
    padding: 50px 40px;
    background: #fff;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-right h4 {
    color: #4A7C59;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.5rem;
}

.auth-right .subtitle {
    color: #6B6B6B;
    margin-bottom: 30px;
}

/* Form Elements */
.form-label {
    color: #4A4A4A;
    font-weight: 500;
}

.form-control {
    border: 1px solid #D0D0D0;
    padding: 10px 15px;
}

.form-control:focus {
    border-color: #4A7C59;
    box-shadow: 0 0 0 0.2rem rgba(74, 124, 89, 0.15);
}

.input-group-text {
    background-color: #f8f9fa;
    border-color: #D0D0D0;
    color: #4A7C59;
}

/* Buttons */
.btn-auth {
    background: linear-gradient(135deg, #4A7C59 0%, #3D6B4A 100%);
    border: none;
    padding: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #3D6B4A 0%, #2D5A3A 100%);
    color: #fff;
}

/* Footer */
.footer-text {
    color: #6B6B6B;
    font-size: 12px;
}

/* User Info Box (SelectDatabase) */
.user-info {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.user-info i {
    color: #4A7C59;
}

/* Company Selection Options */
.company-option {
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.company-option:hover {
    border-color: #4A7C59;
    background-color: #E8F0EA;
}

.company-option.selected {
    border-color: #4A7C59;
    background-color: #E8F0EA;
}

.company-option input[type="radio"] {
    display: none;
}

.company-option .company-name {
    font-weight: 600;
    color: #4A4A4A;
}

.company-option i {
    color: #4A7C59;
    font-size: 24px;
}

/* Logout Link */
.logout-link {
    color: #6B6B6B;
    text-decoration: none;
}

.logout-link:hover {
    color: #C45C5C;
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-left {
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .auth-right {
        min-height: auto;
        padding: 30px 20px;
    }
}
