* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: url('../assets/images/Admin-Signup-Page.jpg') no-repeat center center / cover;
    background-attachment: fixed;
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Signup Form Container */
.container {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(15px); /* Increased blur for a glassy look */
    background: rgba(255, 255, 255, 0.1); /* Very transparent background */
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    animation: fadeIn 0.5s ease-out;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #5a189a;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-header p {
    color: #7c3aed;
    font-size: 16px;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3a0ca3;
    font-weight: 600;
    font-size: 16px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #fff0fb;
    color: #2d006e;
}

.form-control:focus {
    border-color: #b5179e;
    outline: none;
    box-shadow: 0 0 0 3px rgba(181, 23, 158, 0.2);
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 5px;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #5f0f40;
}

.radio-option input {
    margin-right: 8px;
    cursor: pointer;
}

.error-message {
    color: #d00000;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

/* Show error messages for invalid fields when form is submitted */
input:invalid + .error-message {
    display: block;
}

/* Image Upload Styles */
.image-upload-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.image-preview {
    width: 100%;
    height: 200px;
    border: 2px dashed #b5179e;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(255, 240, 251, 0.5);
    overflow: hidden;
    position: relative;
}

.image-preview__default-text {
    color: #7c3aed;
    font-size: 14px;
    padding: 0 20px;
}

/* Make the file input look better */
.form-control[type="file"] {
    padding: 10px;
    background-color: white;
    cursor: pointer;
}

.form-control[type="file"]::-webkit-file-upload-button {
    visibility: hidden;
}

.form-control[type="file"]::before {
    content: 'Choose Profile Image';
    display: inline-block;
    background: linear-gradient(135deg, #9d4edd, #f72585);
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    outline: none;
    white-space: nowrap;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    margin-right: 10px;
}

.form-control[type="file"]:hover::before {
    opacity: 0.9;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    gap: 10px;
}

.terms-checkbox input {
    margin-top: 5px;
    cursor: pointer;
}

.terms-checkbox label {
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.terms-checkbox a {
    color: #9d4edd;
    text-decoration: none;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.btn-submit {
    background: linear-gradient(135deg, #9d4edd, #f72585);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(247, 37, 133, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.login-link {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #555;
}

.login-link a {
    color: #ff5d8f;
    text-decoration: none;
    font-weight: 700;
}

.login-link a:hover {
    text-decoration: underline;
}

/* Password visibility toggle styling */
.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #a2006d;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 15px;
    }

    .form-header h2 {
        font-size: 24px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}