/* register.css */

/* Body styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #0c0c0c; /* Dark background */
    color: #FFD700; /* Gold text */
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure the form is centered even if height changes */
}

/* Container for the form */
.container {
    max-width: 950px; /* Increased width */
    background-color: #1a1a1a; /* Dark container background */
    padding: 40px 30px; /* Increased padding to make it more spacious */
    border-radius: 15px;
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.7), 0px 0px 15px rgba(255, 215, 0, 0.5); /* 3D shadow effect */
    position: relative;
    overflow: hidden;
}

/* Add a glossy shine on top of the container */
.container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
    transform: rotate(25deg);
    opacity: 0.2;
    pointer-events: none;
}

/* Form title styling */
h2 {
    text-align: center;
    color: #FFD700; /* Gold color */
    margin-bottom: 30px; /* More bottom margin */
    font-size: 32px; /* Larger font size for Register */
    font-weight: bold;
}

/* Form group for labels and inputs */
.form-group {
    margin-bottom: 25px; /* Space between form groups */
}

/* Two-column layout */
.form-group-two-columns {
    display: flex;
    justify-content: space-between;
    gap: 30px; /* More gap between the two columns */
    margin-bottom: 20px; /* Add space below each form group */
}

/* Each column should take 48% width */
.form-group-two-columns .form-group {
    width: 48%;
}

.form-group label {
    font-weight: bold;
    color: #FFD700; /* Gold labels */
    display: block;
    margin-bottom: 12px; /* More space below labels */
}

/* Inputs and textareas */
.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px; /* More padding inside input fields */
    border-radius: 8px;
    border: none;
    background: #333; /* Dark background for input fields */
    color: #FFD700; /* Gold text */
    box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.5), 0px 5px 15px rgba(0, 0, 0, 0.3); /* Inner and outer shadows for glossy effect */
    margin-bottom: 15px; /* Increased margin below each field */
    font-size: 14px;
    transition: box-shadow 0.3s ease-in-out;
}

/* Focused input */
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    box-shadow: 0px 0px 15px rgba(255, 215, 0, 0.8); /* Glowing effect when focused */
}

/* Align file inputs properly */
.form-group input[type="file"] {
    padding: 5px;
    background-color: #000000;
    color: #FFD700;
    border-radius: 5px;
}

/* Align file inputs with equal width */
.form-group-two-columns .form-group input[type="file"] {
    padding: 6px;
    background-color: #000;
    color: #FFD700;
    width: 100%; /* Ensure file inputs take full width of container */
    box-shadow: inset 0px 1px 5px rgba(0, 0, 0, 0.5), 0px 5px 15px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

/* Submit button */
.form-group input[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: #FFD700;
    color: #000000;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 5px 15px rgba(255, 215, 0, 0.5); /* Button shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="submit"]:hover {
    background-color: #ffcc00;
    box-shadow: 0px 8px 25px rgba(255, 215, 0, 0.7);
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    .form-group-two-columns {
        flex-direction: column;
    }

    .form-group input, .form-group textarea {
        padding: 10px;
        font-size: 12px;
    }
}
