/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
    color: #333;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 36px;
    cursor: pointer;
}

.password-wrapper input {
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #333;
}

.form-group input::placeholder {
    color: #999;
}

/* Password Toggle */
.password-toggle {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    opacity: 0.5;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle:focus {
    outline: none;
    opacity: 1;
}

.eye-icon {
    width: 20px;
    height: 20px;
    color: #666;
    user-select: none;
}

.password-toggle.active .eye-icon {
    color: #333;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: Arial, sans-serif;
    margin-top: 8px;
}

.btn-submit:hover {
    background: #666;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-submit:active {
    background: #444;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Error Message */
.error-message {
    margin-top: 16px;
    padding: 12px 14px;
    background: transparent;
    border: none;
    color: #e74c3c;
    font-size: 13px;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
