/* Login Pages Custom Styling */
:root {
    --primary-color: #3b5998;
    --secondary-color: #8b9dc3;
    --accent-color: #dfe3ee;
    --light-color: #f7f7f7;
    --dark-color: #333333;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
}

/* Background animation */
body {
    background: linear-gradient(-45deg, var(--light-color), var(--accent-color), #e8f0fe, #f1f5fd);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Card styling */
.auth-card {
    transition: all 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Button effects */
.btn-primary {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.btn-primary:hover:after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Form input focus effects */
.form-control:focus {
    box-shadow: 0 0 0 0.2rem rgba(59, 89, 152, 0.25);
    border-color: var(--secondary-color);
}

/* Captcha image hover effect */
.captcha-img {
    transition: all 0.3s ease;
}

.captcha-img:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Link hover effects */
.link-primary {
    position: relative;
    display: inline-block;
}

.link-primary::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.link-primary:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Mobile responsiveness improvements */
@media (max-width: 576px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-body {
        padding: 20px;
    }
    
    .auth-header {
        padding: 15px;
    }
    
    .auth-logo {
        max-width: 150px;
    }
} 