﻿
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    display: flex;
    position: relative;
    overflow: hidden;
    /* 🌈 Vibrant Multicolor Gradient */
    background: linear-gradient(-45deg, #1e1e2f, #3c1053, #ad5389, #ffcc70, #70e1f5, #ffd194);
    background-size: 800% 800%;
    animation: gradientMove 20s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.left-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.left-image {
    width: 700px; /* adjust as needed */
    height: auto; /* maintain aspect ratio */
    border-radius: 10px; /* optional: smooth corners */
}


.right-side {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 400px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
    position: relative;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

h2 {
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    text-align: center;
}

.description {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
    text-align: center;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    text-align: center;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .btn:hover {
        background: linear-gradient(to right, #5a67d8, #6b46c1);
    }

.back-link {
    display: block;
    margin-top: 20px;
    color: #6b46c1;
    text-decoration: none;
    font-size: 14px;
    text-align: center;
}

    .back-link:hover {
        text-decoration: underline;
    }

.message {
    color: #f00;
    margin-top: 15px;
    text-align: center;
}

@media (max-width: 992px) {
    body {
        min-height: 100vh;
        height: auto;
        overflow-y: auto;
        overflow-x: hidden;
        flex-direction: column;
        padding: 14px;
    }

    .left-side,
    .right-side {
        width: 100%;
        flex: none;
        padding: 10px;
    }

    .left-image {
        width: min(100%, 420px);
    }

    .container {
        width: min(100%, 460px);
        padding: 22px;
    }
}

@media (max-width: 576px) {
    .left-side {
        display: none;
    }

    .right-side {
        min-height: 100vh;
    }

    .container {
        width: 100%;
        padding: 18px;
        border-radius: 10px;
    }
}
