:root {
    --primary-color: #5D87FF;
    --secondary-color: #49BEFF;
    --dark-color: #1E293B;
    --light-color: #F9FAFB;
    --body-bg: #EEF5FF;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--body-bg);
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.login-wrapper {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.login-card {
    width: 450px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    background-color: white;
    overflow: hidden;
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.login-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 16px 16px 0 0;
    position: relative;
}

.login-header h3 {
    font-weight: 700;
    margin-bottom: 5px;
}

.login-body {
    padding: 40px;
}

.form-control, .input-group-text {
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    background-color: #F9FAFB;
}

.input-group-text {
    background-color: #F0F5FF;
    color: var(--primary-color);
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(93, 135, 255, 0.25);
    background-color: #FFFFFF;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(93, 135, 255, 0.4);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.forgot-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-link:hover {
    color: var(--secondary-color);
}

/* Animated background */
.bg-bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-bubbles li {
    position: absolute;
    list-style: none;
    display: block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.15);
    bottom: -160px;
    animation: square 25s infinite;
    transition-timing-function: linear;
    border-radius: 50%;
}

.bg-bubbles li:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    background-color: rgba(93, 135, 255, 0.1);
    width: 80px;
    height: 80px;
}

.bg-bubbles li:nth-child(2) {
    left: 20%;
    width: 90px;
    height: 90px;
    animation-delay: 2s;
    animation-duration: 17s;
    background-color: rgba(73, 190, 255, 0.1);
}

.bg-bubbles li:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    background-color: rgba(93, 135, 255, 0.1);
}

.bg-bubbles li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-duration: 22s;
    background-color: rgba(73, 190, 255, 0.1);
}

.bg-bubbles li:nth-child(5) {
    left: 50%;
    animation-delay: 8s;
    background-color: rgba(93, 135, 255, 0.1);
}

.bg-bubbles li:nth-child(6) {
    left: 60%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
    background-color: rgba(73, 190, 255, 0.1);
}

.bg-bubbles li:nth-child(7) {
    left: 70%;
    width: 120px;
    height: 120px;
    animation-delay: 7s;
    background-color: rgba(93, 135, 255, 0.1);
}

.bg-bubbles li:nth-child(8) {
    left: 80%;
    width: 50px;
    height: 50px;
    animation-delay: 15s;
    animation-duration: 40s;
    background-color: rgba(73, 190, 255, 0.1);
}

.bg-bubbles li:nth-child(9) {
    left: 90%;
    width: 70px;
    height: 70px;
    animation-delay: 2s;
    animation-duration: 40s;
    background-color: rgba(93, 135, 255, 0.1);
}

@keyframes square {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
    100% {
        transform: translateY(-1000px) rotate(600deg);
        opacity: 0;
        border-radius: 50%;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
