/* Ensure the body and particles background cover the full height */
html, body {
    /* height: 100%; */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

/* Background particles */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Glass effect for the form container */
.form-container {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 40px;
    max-width: 700px;
    width: 90%; /* Make it responsive */
    color: #fff;
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
    overflow: hidden; /* Prevent content overflow */
}

/* Form heading */
.form-container h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #fff;
}

/* Form labels and inputs */
label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: #fff;
}

input[type="text"],
input[type="number"],
input[type="date"],
input[type="email"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="email"]:focus,
input[type="file"]:focus {
    border-color: #fff;
    outline: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Buttons */
button {
    padding: 12px 24px;
    margin: 5px;
    border: none;
    border-radius: 6px;
    background-color: #6200ea;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%; /* Make buttons full width */
}

button:hover {
    background-color: #3700b3;
    transform: scale(1.05);
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Align radio buttons to the left */
.radio-group {
    text-align: left;
    margin-bottom: 15px;
}

.radio-group label {
    display: block;
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
}

/* Change placeholder color to white */
input::placeholder {
    color: rgba(255, 255, 255, 0.8); /* White with slight transparency */
    font-style: italic;
}