/* Life-Hand Manifest Public Styles */
.lhm-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.lhm-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lhm-form-field {
    margin-bottom: 20px;
}

.lhm-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.lhm-form-field input[type="text"],
.lhm-form-field input[type="email"],
.lhm-form-field input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.lhm-submit-btn {
    width: 100%;
    padding: 15px;
    background: #C4A052;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lhm-submit-btn:hover {
    background: #B08F45;
    transform: translateY(-2px);
}

.lhm-form-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

.lhm-form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.lhm-form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.lhm-form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   Default Hidden States
   Elementor strips inline style="display: none" so we set defaults in CSS
   ========================================================================== */

/* Modal overlays - hidden by default */
.lhm-modal-overlay {
    display: none;
}

/* When modal is shown via jQuery, use flex for centering */
.lhm-modal-overlay[style*="block"],
.lhm-modal-overlay[style*="flex"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Message elements - hidden by default */
#form-message,
#share-register-message,
#accept-message,
#lhm-login-message,
#lhm-confirm-message,
#lhm-share-result,
#category-error {
    display: none;
}

/* Preview sections - hidden by default */
#birth-card-preview-section {
    display: none;
}

/* Conditional inputs - hidden by default */
#specific_relationship_other {
    display: none;
}
