/* Reset default styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, rgba(33, 150, 243, 0.1) 0%, rgba(0, 0, 0, 0.8) 100%),
                linear-gradient(45deg, #000000 0%, #1a237e 100%);
    overflow: hidden;
    position: relative;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Login Card Styling */
.login-card {
    background: rgba(26, 35, 126, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 35px 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: slideUp 1s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    margin: 20px;
}

/* Animation */
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Headings */
.login-card h2 {
    margin-bottom: 25px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(120deg, #2196f3, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Form Group */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    font-size: 0.9rem;
    color: #fff;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input {
    width: 100%;
    padding: 12px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

input:focus {
    border-color: #2196f3;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(33, 150, 243, 0.1);
}

/* Input Group Styles */
.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-group input {
    border-radius: 50px;
    padding-right: 45px;
}

.input-group-text {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    z-index: 3;
}

.input-group-text:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* Button Styling */
.btn {
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
}

.btn-primary {
    background: linear-gradient(45deg, #2196f3, #00bcd4);
    border: none;
    color: white;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 0.8rem;
    display: inline-block;
    margin: 0 auto;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}


/* Company Logo */
.company-logo {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

/* Text Colors */
small {
    color: rgba(255, 255, 255, 0.8);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Checkbox Styles */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.form-check-input {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background-color: transparent;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #2196f3;
    border-color: #2196f3;
}

.form-check-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        width: 90%;
        padding: 25px;
        margin: 15px;
    }

    .login-card h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .company-logo {
        width: 140px;
        margin-bottom: 1.5rem;
    }

    input {
        padding: 10px;
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .form-group {
        margin-bottom: 15px;
    }

    label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .alert {
        padding: 10px;
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}
