/* Inter font import for consistency */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Basic styling for the form container */
.zhopy-registration-container {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px;
    margin: 40px auto; /* Center the form and give some vertical margin */
    text-align: center;
    box-sizing: border-box; /* Include padding in width calculation */
}

/* Heading style */
.zhopy-registration-container h2 {
    color: #1a202c;
    margin-bottom: 30px;
    font-weight: 700;
    font-size: 1.875rem; /* Tailwind's text-3xl */
}

/* Form group spacing and alignment */
.zhopy-registration-container .form-group {
    margin-bottom: 20px;
    text-align: left;
}

/* Label styling */
.zhopy-registration-container label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

/* Input field styling */
.zhopy-registration-container input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    color: #2d3748;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Input focus effect */
.zhopy-registration-container input:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Button styling */
.zhopy-registration-container button {
    width: 100%;
    padding: 12px 20px;
    background-color: #4299e1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 10px rgba(66, 153, 225, 0.3);
}

/* Button hover effect */
.zhopy-registration-container button:hover {
    background-color: #3182ce;
    transform: translateY(-1px);
}

/* Button active effect */
.zhopy-registration-container button:active {
    transform: translateY(0);
}

/* Message box styling */
.zhopy-registration-container .message {
    margin-top: 25px;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Success message style */
.zhopy-registration-container .message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Error message style */
.zhopy-registration-container .message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Info message style */
.zhopy-registration-container .message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Hidden utility class */
.zhopy-registration-container .hidden {
    display: none;
}

/* Back button specific style */
.zhopy-registration-container .back-button {
    background-color: #a0aec0;
    margin-top: 20px;
}

/* Back button hover effect */
.zhopy-registration-container .back-button:hover {
    background-color: #718096;
}

/* Readonly input style */
.zhopy-registration-container .bg-gray-100 {
    background-color: #f7fafc; /* Light gray for readonly fields */
}
.zhopy-registration-container .cursor-not-allowed {
    cursor: not-allowed;
}