/* Base styles */
body {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Card styles */
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.card-body {
    padding: 2rem;
}

/* Form styles */
.form-control {
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    border: 1px solid #dee2e6;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

/* Button styles */
.btn {
    padding: 0.4rem 1rem;
    border-radius: 6px;
    font-weight: 500;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-1px);
}

.btn-outline-dark {
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-1px);
}

.input-group .btn {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Google icon */
.google-icon {
    height: 18px;
    width: auto;
    object-fit: contain;
}

/* Welcome side styles */
.welcome-side {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.welcome-image {
    background-size: cover;
    background-position: center;
}

.welcome-image img {
    max-width: 80%;
    height: auto;
}

.welcome-image h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.welcome-image p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Footer styles */
footer {
    background: linear-gradient(to right, #1a1a1a, #2d2d2d) !important;
    margin-top: auto;
}

footer h5 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

footer p, 
footer a,
footer li {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.8;
}

footer .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

footer a:hover {
    color: #ffffff !important;
    text-decoration: none;
}

.social-links a {
    font-size: 1.1rem;
    transition: transform 0.3s ease, color 0.3s ease;
    color: rgba(255, 255, 255, 0.8) !important;
}

.social-links a:hover {
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
    
    .welcome-side {
        display: none;
    }
}

/* EJS Alert Styles */
.ejs-alert {
    color: #dc3545;
    background-color: #ffe6e6;
    padding: 12px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    border-left: 4px solid #dc3545;
    font-weight: 500;
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}