/* RemoteSpark Login Page Styles */

.rs-login-container {
    min-height: 85vh;
    background: #23272b;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.rs-login-card {
    background: #181c20;
    border: 2px solid #2a2e32;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.rs-login-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.rs-login-logo img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(244, 167, 0, 0.3));
}

.rs-login-title {
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    font-weight: 600;
}

/* Form styles */
.rs-login-form .form-control::placeholder {
    color: #6c757d;
}

.rs-login-form .form-control {
    background: #384046;
    border: 2px solid #2a2e32;
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.rs-login-form .form-control:focus {
    background: #384046;
    border-color: #FFE600;
    color: #fff;
    box-shadow: 0 0 0 0.2rem rgba(255, 230, 0, 0.15);
}

.rs-login-form input:-webkit-autofill,
.rs-login-form input:-webkit-autofill:focus,
.rs-login-form input:-webkit-autofill:hover,
.rs-login-form input:-webkit-autofill:active {
    background: #384046 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 100px #384046 inset !important;
    box-shadow: 0 0 0 100px #384046 inset !important;
    border-color: #384046 !important;
    transition: background-color 9999s ease-in-out 0s;
}

/* Validation error styles */
.rs-login-form .text-danger {
    color: #ff6b6b !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.rs-login-form .alert-danger {
    background: #2a1a1a;
    border: 2px solid #ff6b6b;
    color: #ff6b6b;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
}

.rs-login-form .form-control.input-validation-error {
    border-color: #ff6b6b !important;
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.15) !important;
}

/* Remember me checkbox */
.rs-login-form .form-check-label {
    color: #ccc;
}

.rs-login-form .form-check-input {
    background-color: #23272b;
    border: 2px solid #2a2e32;
}

.rs-login-form .form-check-input:checked {
    background-color: #23272b;
    border-color: #FFE600;
}

.rs-login-form .form-check-input:focus {
    border-color: #FFE600;
    box-shadow: 0 0 0 0.2rem rgba(255, 230, 0, 0.15);
}

/* Button container */
.rs-login-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: flex-end;
}

/* Back button */
.rs-btn-back {
    background: transparent;
    border: 2px solid #6c757d;
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.rs-btn-back:hover {
    background: #2a2e32;
    border-color: #fff;
    color: #fff;
}

/* Login/Submit button */
.rs-btn-login {
    background: #FFE600;
    border: 2px solid #FFE600;
    color: #000;
    padding: 0.75rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.rs-btn-login:hover {
    background: #F4A700;
    border-color: #F4A700;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 230, 0, 0.4);
}

/* Account selection buttons */
.rs-account-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background: #23272b;
    border: 2px solid #2a2e32;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.rs-account-btn:hover {
    background: #2a2e32;
    border-color: #FFE600;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 230, 0, 0.3);
}

.rs-account-btn i {
    font-size: 1.75rem;
    margin-right: 1rem;
    color: #FFE600;
    transition: all 0.3s;
}

.rs-account-btn:hover i {
    color: #F4A700;
    transform: scale(1.1);
}

.rs-account-btn span {
    font-size: 1.1rem;
}

/* Account button icon alignment */
.rs-account-btn .icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 60px;
    height: 60px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.rs-account-btn .icon-wrapper i {
    font-size: 40px;
    line-height: 1;
}

.rs-account-btn .icon-wrapper img {
    width: 60px;
    height: 60px;
    margin-left: -0.25rem;
    transition: all 0.3s;
}

.rs-account-btn:hover .icon-wrapper img {
    transform: scale(1.1);
}

/* Microsoft-specific styling */
.rs-account-btn.microsoft .icon-wrapper i {
    margin-left: 5px;
}

.rs-account-btn.microsoft i {
    color: #00A4EF;
}

.rs-account-btn.microsoft:hover {
    border-color: #00A4EF;
    box-shadow: 0 4px 12px rgba(0, 164, 239, 0.3);
}

.rs-account-btn.microsoft:hover i {
    color: #0078D4;
}

/* Responsive styles */
@media (max-width: 576px) {
    .rs-login-card {
        padding: 2rem 1.5rem;
    }
    
    .rs-login-logo img {
        max-width: 220px;
    }
    
    .rs-login-title {
        font-size: 1.5rem;
    }
    
    .rs-login-buttons {
        flex-direction: column;
    }
    
    .rs-btn-back,
    .rs-btn-login {
        width: 100%;
    }
    
    .rs-account-btn {
        padding: 0.875rem 1.25rem;
    }
    
    .rs-account-btn i {
        font-size: 1.5rem;
    }
    
    .rs-account-btn span {
        font-size: 1rem;
    }
}
