* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-image: url(../../websiteassets/images/bg1.jpg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

    background-size:cover;

}

    body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(103, 188, 69, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(103, 188, 69, 0.05) 0%, transparent 50%);
        animation: float 6s ease-in-out infinite;
    }

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.container {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    z-index: 1;
    position: relative;
}

.form-wrapper {
    background: linear-gradient(135deg, rgb(55 119 29 / 40%), transparent, rgb(16 41 6 / 60%), transparent);
    /* background: rgba(10, 10, 10, 0.9); */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(103, 188, 69, 0.2);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease;
}

    .form-wrapper:hover {
        transform: translateY(-5px);
    }

.logo {
    animation: fadeIn 0.8s ease forwards;
    margin-bottom: 20px;
}

    .logo img {
        max-width: 200px;
        height: auto;
        filter: drop-shadow(0 0 20px rgba(103, 188, 69, 0.3));
    }

.form-wrapper h2 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: 400;
    opacity: 0.9;
}

.subtitle {
    color: #cccccc;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 20px;
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(103, 188, 69, 0.7);
    font-size: 1.1rem;
    z-index: 2;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
}

    .password-toggle:hover {
        color: #67bc45;
    }

.checkbox-group {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}

    .checkbox-group input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
        accent-color: #67bc45;
        cursor: pointer;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .checkbox-group label {
        color: #cccccc;
        font-size: 0.9rem;
        line-height: 1.4;
        cursor: pointer;
        user-select: none;
    }

.terms-link {
    color: #67bc45;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .terms-link:hover {
        color: #058b54;
        text-decoration: underline;
    }

.input-group input {
    width: 100%;
    padding: 15px 50px 15px 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

    .input-group input::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }

    .input-group input:focus {
        background: rgba(255, 255, 255, 0.15);
        border-color: #67bc45;
        box-shadow: 0 0 15px rgba(103, 188, 69, 0.3);
        transform: translateY(-2px);
    }

        .input-group input:focus + .input-icon {
            color: #67bc45;
        }

.login-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #67bc45 0%, #058b54 100%);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .login-btn:hover {
        background: linear-gradient(135deg, #058b54 0%, #67bc45 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(103, 188, 69, 0.4);
    }

    .login-btn:active {
        transform: translateY(0);
    }

.form-links {
    margin: 20px 0;
}

.forgot-link {
    color: #67bc45;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

    .forgot-link:hover {
        color: #058b54;
        text-shadow: 0 0 10px rgba(103, 188, 69, 0.5);
    }

.register-link {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    .register-link p {
        color: #cccccc;
        font-size: 0.95rem;
    }

    .register-link a {
        color: #67bc45;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }

        .register-link a:hover {
            color: #058b54;
            text-shadow: 0 0 10px rgba(103, 188, 69, 0.5);
        }

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }

    .form-wrapper {
        padding: 30px 25px;
    }

    .logo img {
        max-width: 150px;
    }

    .form-wrapper h2 {
        font-size: 1.1rem;
    }

    .input-group input {
        padding: 12px 45px 12px 45px;
        font-size: 0.95rem;
    }

    .input-icon {
        left: 12px;
        font-size: 1rem;
    }

    .password-toggle {
        right: 12px;
        font-size: 1rem;
    }

    .login-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .checkbox-group {
        gap: 10px;
    }

        .checkbox-group label {
            font-size: 0.85rem;
        }

        .checkbox-group input[type="checkbox"] {
            width: 16px;
            height: 16px;
        }
}

/* Animation for form elements */
.input-group {
    animation: slideUp 0.6s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

    .input-group:nth-child(1) {
        animation-delay: 0.1s;
    }

    .input-group:nth-child(2) {
        animation-delay: 0.2s;
    }

    .input-group:nth-child(3) {
        animation-delay: 0.3s;
    }

    .input-group:nth-child(4) {
        animation-delay: 0.4s;
    }

    .input-group:nth-child(5) {
        animation-delay: 0.5s;
    }

.login-btn {
    animation: slideUp 0.6s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}




/* Registration Success Page Styles */
.success-wrapper {
    max-width: 600px;
    padding: 15px 3px;
    position: relative;
    overflow: visible;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease;
}

    .success-wrapper.animate-in {
        transform: translateY(0);
        opacity: 1;
    }

.success-animation {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #67bc45 0%, #058b54 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: checkmarkPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(103, 188, 69, 0.4);
}

.checkmark {
    width: 25px;
    height: 45px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    animation: checkmarkDraw 0.8s ease-in-out;
}

@keyframes checkmarkPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes checkmarkDraw {
    0% {
        height: 0;
    }

    100% {
        height: 45px;
    }
}

.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-title {
    font-size: 1.4rem;
    color: #67bc45;
    margin-bottom: 10px;
    font-weight: 600;
}

.success-title {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
}

.user-details {
    margin-bottom: 21px;
}

.details-card {
    background: rgba(103, 188, 69, 0.1);
    border: 1px solid rgba(103, 188, 69, 0.3);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
}

.card-title {
    color: #67bc45;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
}

    .details-table tr {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

        .details-table tr:last-child {
            border-bottom: none;
        }

    .details-table td {
        padding: 12px 8px;
        vertical-align: middle;
    }

.label-col {
    color: #cccccc;
    font-weight: 500;
    width: 35%;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .label-col i {
        color: #67bc45;
        width: 16px;
    }

.colon-col {
    color: #67bc45;
    font-weight: bold;
    width: 5%;
    text-align: center;
}

.value-col {
    color: #ffffff;
    font-weight: 600;
    width: 60%;
    position: relative;
}

.password-display {
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 6px;
    margin-right: 10px;
}

.copy-btn {
    color: #67bc45;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 5px;
}

    .copy-btn:hover {
        color: #058b54;
        transform: scale(1.1);
    }

.success-message {
    margin-bottom: 40px;
}

.message-card {
    background: linear-gradient(135deg, rgba(103, 188, 69, 0.2) 0%, rgba(5, 139, 84, 0.1) 100%);
    border: 1px solid rgba(103, 188, 69, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .message-card i {
        font-size: 2rem;
        color: #67bc45;
        animation: rocketFloat 3s ease-in-out infinite;
    }

    .message-card p {
        color: #ffffff;
        font-size: 1.1rem;
        font-weight: 500;
        margin: 0;
    }

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.login-btn-success {
    background: linear-gradient(135deg, #67bc45 0%, #058b54 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

    .login-btn-success:hover {
        background: linear-gradient(135deg, #058b54 0%, #67bc45 100%);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(103, 188, 69, 0.4);
    }

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .btn-secondary:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
        border-color: #67bc45;
    }

/* Celebration Elements */
.celebration-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    font-size: 1.5rem;
    animation: confettiFall 4s linear infinite;
    opacity: 0.8;
}

.confetti-1 {
    left: 10%;
    animation-delay: 0s;
}

.confetti-2 {
    left: 20%;
    animation-delay: 0.5s;
}

.confetti-3 {
    left: 30%;
    animation-delay: 1s;
}

.confetti-4 {
    left: 70%;
    animation-delay: 1.5s;
}

.confetti-5 {
    left: 80%;
    animation-delay: 2s;
}

.confetti-6 {
    left: 90%;
    animation-delay: 2.5s;
}

@keyframes confettiFall {
    0% {
        top: -10%;
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        top: 110%;
        transform: rotate(360deg);
        opacity: 0;
    }
}

/* Mobile Responsive for Success Page */
@media (max-width: 768px) {
    .success-wrapper {
        padding: 4px 5px;
        max-width: 100%;
    }

    .checkmark-circle {
        width: 60px;
        height: 60px;
    }

    .checkmark {
        width: 18px;
        height: 32px;
        border-width: 0 3px 3px 0;
    }

    .welcome-title {
        font-size: 1.2rem;
    }

    .success-title {
        font-size: 1rem;
    }

    .details-card {
        padding: 5px;
    }

    .details-table td {
        padding: 10px 5px;
    }

    .label-col {
        font-size: 0.9rem;
    }

    .value-col {
        font-size: 0.9rem;
    }

    .message-card {
        padding: 20px;
        flex-direction: column;
        gap: 10px;
    }

        .message-card i {
            font-size: 1.5rem;
        }

        .message-card p {
            font-size: 1rem;
        }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .login-btn-success,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .confetti {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .details-table {
        font-size: 0.85rem;
    }

    .label-col {
        width: 40%;
    }

    .value-col {
        width: 55%;
    }

    .password-display {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}