/**
 * Auth Modal Styles
 * Reset password modal and related authentication UI components
 */

/* Reset Password Modal Overlay */
.resetpwd-overlay-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999999;
}

/* Reset Password Modal Container */
.resetpwd-modal-header {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000000;
    overflow: hidden;
}

/* Modal Header */
.resetpwd-modal-header .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
}

.resetpwd-modal-header .modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

/* Modal Close Button */
.resetpwd-modal-header .modal-close-header {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

.resetpwd-modal-header .modal-close-header:hover {
    color: #333;
}

/* Modal Body */
.resetpwd-modal-header .modal-body {
    padding: 24px;
}

/* Form Groups */
.resetpwd-modal-header .form-group {
    margin-bottom: 20px;
}

.resetpwd-modal-header .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.resetpwd-modal-header .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
}

.resetpwd-modal-header .form-group input:focus {
    border-color: #333;
    outline: none;
}

/* Captcha Row */
.captcha-row-header {
    display: flex;
    gap: 10px;
}

.captcha-row-header input {
    flex: 1;
}

/* Send Code Button */
.btn-send-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    text-decoration: none;
}

.btn-send-header:hover {
    background: #eee;
}

.btn-send-header.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Submit Button */
.btn-submit-header {
    width: 100%;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-header:hover {
    background: #333;
}

.btn-submit-header:active {
    transform: scale(0.98);
}

.btn-submit-header.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Message Display */
.resetpwd-msg-header {
    display: none;
    padding: 10px 16px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.resetpwd-msg-header.error {
    display: block;
    background: #fee;
    color: #c00;
    border: 1px solid #fcc;
}

.resetpwd-msg-header.success {
    display: block;
    background: #efe;
    color: #060;
    border: 1px solid #cfc;
}
