/* Platform Login Styles */
.platform-login-wrapper {
    background: #f5f5f5;
    min-height: 100vh;
}

/* Form styles - Scoped to platform login only */
.platform-login-wrapper .form-group {
    margin-bottom: 25px;
}

.platform-login-wrapper .form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: block;
}

.platform-login-wrapper .form-control {
    height: 45px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 100%;
    padding: 10px 15px;
    background-color: #ffffff;
    color: #555;
}

.platform-login-wrapper .form-control:focus {
    border-color: #337ab7;
    box-shadow: 0 0 0 0.2rem rgba(51, 122, 183, 0.1);
    outline: none;
}

/* Alert styles */
.alert-danger {
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ebccd1;
    background-color: #f2dede;
    color: #a94442;
    font-size: 14px;
}

/* Help text styles */
.help-text {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.5;
}

.help-text i {
    color: #337ab7;
    margin-right: 5px;
}

.help-text a {
    text-decoration: none;
}

.help-text a:hover {
    text-decoration: underline;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeIn 0.5s ease-out;
}

/* Input field enhancements */
.form-control.password-field {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

.password-toggle:hover {
    color: #337ab7;
}

/* Loading spinner overlay */
.login-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.login-loading-overlay.active {
    display: flex;
}

.login-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #337ab7;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error message animations */
.alert-danger {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Button states */
.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-login:active {
    transform: translateY(0);
}

/* Checkbox styling */
input[type="checkbox"] {
    margin-right: 5px;
    cursor: pointer;
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-card {
        margin: 10px;
        max-width: 100%;
    }
    
    .login-body {
        padding: 35px 25px;
    }
    
    .login-header {
        padding: 30px;
    }
    
    .login-header h3 {
        font-size: 22px;
    }
    
    .login-header .icon {
        font-size: 42px;
    }
    
    .form-control {
        font-size: 15px;
    }
    
    .btn-login {
        font-size: 15px;
        height: 45px;
    }
    
    .password-field {
        height: 45px !important;
    }
}

/* Dark mode support - DISABLED to fix form input issues */
/* Commenting out dark mode styles that were causing black backgrounds on form inputs
@media (prefers-color-scheme: dark) {
    .login-card {
        background: #2d2d2d;
        color: #f5f5f5;
    }
    
    .form-control {
        background: #3d3d3d;
        border-color: #4d4d4d;
        color: #f5f5f5;
    }
    
    .form-control:focus {
        border-color: #5a9fd4;
        background: #3d3d3d;
    }
    
    .help-text {
        color: #ccc;
    }
    
    .form-group label {
        color: #f5f5f5;
    }
    
    .alert-danger {
        background-color: #4a1f1f;
        border-color: #6d2a2a;
        color: #ffb3b3;
    }
}
*/ 