﻿body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #f7f9ff 60%, #fdfdff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    max-width: 450px;
    width: 100%;
    padding: 20px;
}

.login-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.login-header {
    background: linear-gradient(135deg, #f2f2f2 0%, #ffffff 100%);
    color: #4a4a4a;
    padding: 40px 30px;
    text-align: center;
}

    .login-header h4 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        font-family: 'Fredoka', sans-serif;
    }

    .login-header p {
        margin: 8px 0 0 0;
        opacity: 0.8;
        font-size: 15px;
    }

.login-body {
    padding: 40px 30px;
}

.form-control, .form-check-input {
    border-radius: 8px;
    border-color: #e8e8e8;
    font-size: 15px;
}

    .form-control:focus {
        border-color: #9aa7ff;
        box-shadow: 0 0 0 0.2rem rgba(154, 167, 255, 0.15);
    }

.input-group-text {
    background-color: #fafafa;
    border-radius: 8px 0 0 8px;
    border-color: #e8e8e8;
    color: #7c86ff;
}

.btn-login {
    background: linear-gradient(135deg, #9aa7ff 0%, #b7a8ff 100%);
    border: none;
    border-radius: 8px;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .btn-login:hover {
        background: linear-gradient(135deg, #8996f5 0%, #a896f0 100%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(120, 130, 255, 0.25);
        color: white;
    }

.btn-back {
    color: #7c86ff;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
    transition: color 0.2s;
}

    .btn-back:hover {
        color: #6b75e8;
    }

.form-check-input:checked {
    background-color: #9aa7ff;
    border-color: #9aa7ff;
}

.form-check-label {
    font-size: 14px;
    color: #666;
}

.validation-message {
    font-size: 13px;
    margin-top: 5px;
}

.alert-danger {
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff7f7;
    border-color: #ffd6d6;
    color: #c53030;
}

.star-decoration {
    position: absolute;
    color: rgba(120, 120, 120, 0.25);
    font-size: 24px;
    animation: twinkle 3s infinite;
}

.star-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.star-2 {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
    font-size: 20px;
}

.star-4 {
    bottom: 10%;
    right: 5%;
    animation-delay: 1.5s;
    font-size: 18px;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(1.12);
    }
}

.trial-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.06);
}

.trial-footer-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    white-space: nowrap;
}

.trial-footer-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trial-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.trial-btn-primary {
    background: #6c63ff;
    color: #fff;
    border: 2px solid #6c63ff;
}

    .trial-btn-primary:hover {
        background: #574fd6;
        border-color: #574fd6;
        color: #fff;
    }

.trial-btn-outline {
    background: transparent;
    color: #6c63ff;
    border: 2px solid #6c63ff;
}

    .trial-btn-outline:hover {
        background: #6c63ff;
        color: #fff;
    }
/* Prevent card from being hidden behind the footer */
.login-container {
    padding-bottom: 70px;
}