/* File: stylesignup.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body { 
    font-family: Arial, sans-serif; 
    margin: 0; 
    padding: 0; 
    background: url("Image.jpg") no-repeat center center fixed;
    background-size: cover;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    min-height: 100vh; 
    position: relative;
}

body::before {
    content: ''; 
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1; 
}

.signup-container {
    max-width: 450px;
    width: 90%;
    padding: 40px 30px;
    text-align: center;
    z-index: 10;
}

.signup-box {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.signup-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4285F4, #00bcd4);
}

.signup-header {
    margin-bottom: 30px;
}

.signup-header h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 10px;
}

.signup-header p {
    color: #666;
    font-size: 0.95em;
}

.back-to-login {
    display: inline-block;
    color: #4285F4;
    text-decoration: none;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.back-to-login:hover {
    text-decoration: underline;
}

.back-to-login i {
    margin-right: 5px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.95em;
}

.required::after {
    content: " *";
    color: #e53935;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1em;
}

.input-with-icon input {
    width: 100%;
    padding: 14px 20px 14px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    background-color: #fafafa;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #4285F4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.input-with-icon select {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: all 0.3s;
    background-color: #fafafa;
    cursor: pointer;
}

.input-with-icon select:focus {
    outline: none;
    border-color: #4285F4;
    background-color: white;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

/* Error Messages */
.error-messages {
    background-color: #ffebee;
    border: 1px solid #ffcdd2;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: left;
}

.error-messages ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.error-messages li {
    color: #e53935;
    font-size: 0.9em;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
}

.error-messages li:before {
    content: "⚠️";
    position: absolute;
    left: 0;
}

/* Success Message */
.success-message {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    color: #2e7d32;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Password Requirements */
.password-requirements {
    background-color: #f5f5f5;
    border-radius: 6px;
    padding: 12px;
    margin-top: 8px;
    font-size: 0.85em;
    color: #666;
    text-align: left;
}

.password-requirements ul {
    list-style: none;
    padding-left: 20px;
    margin: 5px 0 0 0;
}

.password-requirements li {
    margin-bottom: 3px;
    position: relative;
}

.password-requirements li:before {
    content: "•";
    position: absolute;
    left: -15px;
    color: #888;
}

#passwordStrengthBar {
    height: 5px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 5px;
    overflow: hidden;
}

#passwordStrengthFill {
    height: 100%;
    width: 20%;
    background: #e53935;
    transition: width 0.3s, background 0.3s;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #4285F4, #00bcd4);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #3367d6, #00a0b4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-right: 8px;
}

/* Footer */
.signup-footer {
    margin-top: 25px;
    color: #666;
    font-size: 0.9em;
}

.signup-footer a {
    color: #4285F4;
    text-decoration: none;
}

.signup-footer a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 480px) {
    .signup-box {
        padding: 25px 20px;
    }
    
    .signup-header h1 {
        font-size: 1.7em;
    }
    
    .input-with-icon input {
        padding: 12px 15px 12px 40px;
    }
}

.text-muted {
    color: #888;
    font-size: 0.85em;
    display: block;
    margin-top: 5px;
}