* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.login-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    min-height: 100vh;
}

/* Floating background shapes */
.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: #fff;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: #ffd700;
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: #ff69b4;
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.shape-4 {
    width: 70px;
    height: 70px;
    background: #00ffd4;
    bottom: 30%;
    right: 20%;
    animation-delay: 3s;
}

.shape-5 {
    width: 50px;
    height: 50px;
    background: #ff6b6b;
    top: 50%;
    left: 5%;
    animation-delay: 4s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    background: #4ecdc4;
    top: 70%;
    right: 5%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(10px) rotate(240deg); }
}

/* Login card styling */
.login-card {
    max-width: 420px;
    width: 90%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    z-index: 10;
    position: relative;
    animation: slideInUp 0.8s ease-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo with pulse animation */
.logo-container {
    position: relative;
    display: inline-block;
}

.icon-wrapper {
    position: relative;
    z-index: 3;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.pulse-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.pulse-ring {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: pulse 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

.pulse-ring:nth-child(1) {
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    animation-delay: 0s;
}

.pulse-ring:nth-child(2) {
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    animation-delay: 0.3s;
}

.pulse-ring:nth-child(3) {
    width: 140px;
    height: 140px;
    margin: -70px 0 0 -70px;
    animation-delay: 0.6s;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Title styling */
.title {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.subtitle i {
    color: #ffd700;
    animation: sparkle 2s ease-in-out infinite alternate;
}

@keyframes sparkle {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.2) rotate(180deg); }
}

/* Button styling */
.btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 15px;
    padding: 15px 20px;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    color: white;
}

.button-content {
    position: relative;
    z-index: 2;
    color: white;
    font-weight: bold;
}

/* Ripple effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    z-index: 1;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Admin link */
.admin-btn {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-block;
    background: rgba(108, 117, 125, 0.1);
}

.admin-btn:hover {
    color: #495057;
    background: rgba(108, 117, 125, 0.2);
    transform: translateX(5px);
}

.admin-btn i.fa-arrow-right {
    transition: transform 0.3s ease;
}

.admin-btn:hover i.fa-arrow-right {
    transform: translateX(3px);
}

/* Decorative dots */
.decorative-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: bounce 1.5s ease-in-out infinite;
}

.dot-1 {
    background: #ff6b6b;
    animation-delay: 0s;
}

.dot-2 {
    background: #4ecdc4;
    animation-delay: 0.2s;
}

.dot-3 {
    background: #ffd93d;
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Welcome message */
.welcome-message {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.welcome-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Responsive design */
@media (max-width: 768px) {
    .login-card {
        margin: 20px;
        padding: 20px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .welcome-message {
        bottom: 20px;
    }
    
    .floating-shapes .shape {
        display: none;
    }
}

/* Card hover effect */
.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}