/* Trademark Login Page Styles - Brand Plus Design */

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.login-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.login-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}

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

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

.login-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.2rem;
    z-index: 1;
}

.input-with-icon .form-control {
    padding-left: 50px;
}

.login-form .form-control {
    height: 55px;
    border-radius: 50px;
    border: 2px solid #e0e0e0;
    padding: 0 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

.login-form .form-control::placeholder {
    color: #999;
}

/* Remember Me Checkbox */
.form-check {
    padding-left: 1.5rem;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 0.25rem;
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    color: #666;
    font-size: 0.95rem;
    user-select: none;
}

/* Login Button */
.btn-login {
    height: 55px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-login i {
    font-size: 1.2rem;
}

/* Alert */
.alert {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.alert-danger {
    background: #f8d7da;
    border: 2px solid #f5c6cb;
    color: #721c24;
}

/* Links */
.forgot-password-link {
    color: #666;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.forgot-password-link:hover {
    color: #333;
    text-decoration: underline;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.divider span {
    padding: 0 15px;
    color: #999;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Outline Button */
.btn-outline-primary {
    border: 2px solid #333;
    color: #333;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #333;
    color: #fff;
    transform: translateY(-2px);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4rem;
}

/* Footer */
.site-footer {
    padding: 15px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-card {
        padding: 30px 25px;
        margin: 20px;
    }
    
    .login-title {
        font-size: 1.5rem;
    }
    
    .login-logo {
        max-width: 120px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease;
}

/* Input Focus Effect */
.input-with-icon .form-control:focus ~ i {
    color: #333;
}

/* Success State */
.form-control.is-valid {
    border-color: #28a745;
}

.form-control.is-invalid {
    border-color: #dc3545;
}
