/* Body Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-image: url('./Support.jpeg'); /* Add your background image here */
    background-size: cover; /* Ensure the image fully covers the viewport */
    background-position: center center; /* Center the image both horizontally and vertically */
    background-repeat: no-repeat; /* Avoid repeating the image */
    display: flex;
    justify-content: center; /* Center the card horizontally */
    align-items: center; /* Center the card vertically */
    min-height: 100vh; /* Ensure full height of the viewport */
    width: 100%;
    position: relative; /* For pseudo-element positioning */
    overflow: hidden; /* Prevent scrolling due to pseudo-elements */
}

/* Add semi-transparent gradient overlay */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(98deg, rgba(209, 12, 205, 0.7) 0%, rgba(30, 30, 200, 0.7) 48%, rgba(0, 212, 255, 0.7) 96%);
    z-index: -1; /* Place behind all content */
}

/* Keyframes for Dynamic Gradient Wave Effect */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    body {
        background-size: cover; /* Maintain full cover for laptops */
        animation: gradientBG 10s ease infinite; /* Keep animation */
    }
}

@media (max-width: 1024px) {
    body {
        background-size: cover; /* Ensure full coverage on smaller laptops */
        background-position: center center; /* Keep image centered */
    }
}

@media (max-width: 768px) {
    body {
        background-size: cover; /* Full coverage on tablets */
        animation: gradientBG 8s ease infinite; /* Slightly faster animation */
    }
}

@media (max-width: 480px) {
    body {
        background-size: cover; /* Full coverage on mobile */
        background-position: center center; /* Keep image centered */
        animation: gradientBG 6s ease infinite; /* Faster animation for small screens */
    }
}

/* Container for the login card */
.container {
    max-width: 500px;
    width: 90%; /* Ensures responsiveness on smaller devices */
    margin: 0 auto; /* Center it horizontally */
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1; /* Keeps the card above the background */
}


/* Header styling */
.header img {
    display: block;
    margin: 0 auto 20px;
    width: 80px;
}

/* Title styling */
h1, h2 {
    text-align: center;
    color: #0072ff;
}

/* Form styling */
form {
    display: flex;
    flex-direction: column;
}

/* Label styling */
label {
    margin-bottom: 5px;
}

/* Input field styling */
input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Button styling */
button {
    padding: 10px;
    background-color: #0072ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #005bb5;
}

/* Show password checkbox styling */
.show-password {
    margin-top: 10px;
    text-align: left;
    color: #333;
}

/* Show password checkbox input */
.show-password input {
    cursor: pointer;
}

/* Error message styling */
.error-message {
    color: red;
    font-size: 14px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 15px;
    }

    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 18px;
    }

    input, button {
        font-size: 16px;
    }

    .header img {
        width: 60px;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 10px;
    }

    h1 {
        font-size: 20px;
    }

    h2 {
        font-size: 16px;
    }

    input, button {
        font-size: 14px;
    }

    .header img {
        width: 50px;
    }
}
.form-container {
            background-color: #f4f4f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
        }
        label {
            font-weight: bold;
            display: block;
            margin-top: 10px;
        }
        input[type="text"], input[type="date"], input[type="number"], select, textarea {
            width: 100%;
            padding: 10px;
            margin-top: 5px;
            border-radius: 4px;
            border: 1px solid #ccc;
            box-sizing: border-box;
        }
        .btn-submit {
            background-color: #4CAF50;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            border-radius: 4px;
            margin-top: 20px;
        }
        .btn-submit:hover {
            background-color: #45a049;
        }