/* 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-login-container {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.12); /* translucent white */
    backdrop-filter: blur(12px); /* blur the background behind */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2); /* soft inner border */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    margin: 40px auto;
    text-align: center;
    box-sizing: border-box;
    color: #fff;
}

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

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

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

/* Input field styling */
.zhopy-login-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-login-container input:focus {
    outline: none;
    border-color: #63b3ed;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5);
}

/* Button styling 
.zhopy-login-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-login-container button:hover {
    background-color: #3182ce;
    transform: translateY(-1px);
}

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

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

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

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

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

/* Hidden utility class */
.zhopy-login-container .hidden {
    display: none;
}
.zhopy-login-container button {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
      0 4px 15px rgba(59, 130, 246, 0.4),
      0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

/* Hover Glow */
.zhopy-login-container button:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow:
      0 8px 24px rgba(37, 99, 235, 0.5),
      0 0 0 2px rgba(255, 255, 255, 0.05) inset;
}

/* Active Click */
.zhopy-login-container button:active {
    transform: scale(0.98);
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
}

/* Optional ripple effect (pure CSS) */
.zhopy-login-container button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    pointer-events: none;
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
}

.zhopy-login-container button:active::after {
    width: 200px;
    height: 200px;
    opacity: 0;
    transition: 0s;
}
.register-link {
    display: inline-block;
    padding: 6px 12px;
    /* background-color: #0073aa; */
    color: #0074f8;
    border-radius: 4px;
    text-decoration: none;
}

/* .register-link:hover {
    background-color: #005177;
} */
