/**
 * Christmas Login Page Enhancements
 * Special Christmas styling for EKTM login page
 */

/* Christmas Login Background */
.login-bg-ut {
    position: relative;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    overflow: hidden;
}

.login-bg-ut::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><g fill="%23ffffff" opacity="0.03"><circle cx="25" cy="25" r="2"/><circle cx="75" cy="25" r="2"/><circle cx="25" cy="75" r="2"/><circle cx="75" cy="75" r="2"/><circle cx="50" cy="50" r="2"/></g></svg>') repeat;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { background-position: 0 0; }
    100% { background-position: 100px 100px; }
}

/* Christmas Form Styling */
.form-control {
    border: 2px solid #ffd700;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
}

.form-control:focus {
    border-color: #d42c28;
    box-shadow: 0 0 15px rgba(212, 44, 40, 0.3), inset 0 0 10px rgba(255, 215, 0, 0.1);
    background: white;
}

/* Christmas Button Enhancement */
.btn-primary {
    background: linear-gradient(45deg, #d42c28, #2d5a2d) !important;
    border: none !important;
    border-radius: 25px !important;
    padding: 12px 30px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.btn-primary:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(212, 44, 40, 0.4) !important;
}

.btn-primary::before {
    content: '🎄' !important;
    margin-right: 8px !important;
}

.btn-primary::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
    transition: left 0.5s !important;
}

.btn-primary:hover::after {
    left: 100% !important;
}

/* Christmas Logo Enhancement */
.logo {
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
        transform: scale(1);
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(212, 44, 40, 0.7));
        transform: scale(1.05);
    }
}

/* Floating Christmas Elements */
.christmas-float {
    position: absolute;
    font-size: 20px;
    animation: christmasFloat 6s ease-in-out infinite;
    opacity: 0.7;
    pointer-events: none;
}

@keyframes christmasFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Christmas Panel Border */
.left-panel,
.right-panel {
    border: 3px solid transparent;
    border-radius: 15px;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, #d42c28, #ffd700, #2d5a2d) border-box;
    position: relative;
}

/* Christmas Input Labels */
.form-group label {
    color: #2d5a2d;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Christmas Welcome Text Animation */
.fw-bold {
    animation: welcomeText 4s ease-in-out infinite;
}

@keyframes welcomeText {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(212, 44, 40, 0.3);
    }
    50% {
        text-shadow: 2px 2px 8px rgba(45, 90, 45, 0.5);
    }
}

/* Mobile Christmas Adjustments */
@media (max-width: 768px) {
    .christmas-header {
        padding: 5px;
    }
    
    .christmas-header span {
        font-size: 16px !important;
        margin: 0 5px !important;
    }
    
    .christmas-float {
        font-size: 16px;
    }
    
    .btn-primary {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* Christmas Success Messages */
.alert-success {
    background: linear-gradient(90deg, rgba(45, 90, 45, 0.1), rgba(255, 215, 0, 0.1)) !important;
    border-left: 5px solid #2d5a2d !important;
    border-radius: 10px !important;
    color: #2d5a2d !important;
}

.alert-danger {
    background: linear-gradient(90deg, rgba(212, 44, 40, 0.1), rgba(255, 215, 0, 0.1)) !important;
    border-left: 5px solid #d42c28 !important;
    border-radius: 10px !important;
    color: #d42c28 !important;
}

/* Christmas Link Styling */
a {
    color: #d42c28 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

a:hover {
    color: #2d5a2d !important;
    text-shadow: 1px 1px 3px rgba(255, 215, 0, 0.5) !important;
}