/**
 * Public styles for Matrimony Plugin
 */
body {
    font-family: Arial, sans-serif;
    background-color: #f9fafb;
    color: #333;
    margin: 0;
    padding: 0;
}
/* Reset and Base Styles */
.matrimony-form *,
.matrimony-search-wrapper *,
.matrimony-profile-wrapper *,
.matrimony-subscriptions-wrapper *,
.matrimony-login-wrapper * {
    box-sizing: border-box;
}

/* Common Styles */
.matrimony-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.matrimony-btn-primary {
    background: linear-gradient(135deg, #162d56, #9333ea);
    color: #fff;
}

.matrimony-btn-primary:hover {
    background: linear-gradient(135deg, #0f1c3a, #7e22ce);
    color: #fff;
}

.matrimony-btn-secondary {
    background-color: #6c757d;
    color: #fff;
}

.matrimony-btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

.matrimony-btn.btn-block {
    display: block;
    width: 100%;
}

/* Messages */
.matrimony-messages {
    margin: 15px 0;
}

.matrimony-message {
    padding: 12px 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

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

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

.matrimony-message.info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Profile Display ==================================================================================================================================================================== */
/* Matrimony Profile - Modern Professional Design */
.matrimony-profile-wrapper, .matrimony-profile-detail-wrapper, .matrimony-search-wrapper {
    --primary-color: #7c3aed;
    --primary-hover: #6d28d9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    min-height: 100vh;
    padding: 2rem;
}

/* Header Styles */
.matrimony-profile-wrapper .matrimony-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .header-content {
    flex: 1;
}

.matrimony-profile-wrapper .profile-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
}

.matrimony-profile-wrapper .profile-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Button Styles */
.matrimony-profile-wrapper .matrimony-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.matrimony-profile-wrapper .matrimony-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    box-shadow: var(--shadow-md);
}

.matrimony-profile-wrapper .matrimony-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-hover), #7e22ce);
}

.matrimony-profile-wrapper .btn-icon {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.5;
}

/* Subscription Card */
.matrimony-profile-wrapper .subscription-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .subscription-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.matrimony-profile-wrapper .subscription-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b98120, #10b98110);
    color: var(--success-color);
}

.matrimony-profile-wrapper .subscription-icon.warning {
    background: linear-gradient(135deg, #f59e0b20, #f59e0b10);
    color: var(--warning-color);
}

.matrimony-profile-wrapper .subscription-title h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.matrimony-profile-wrapper .plan-type {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.matrimony-profile-wrapper .plan-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.matrimony-profile-wrapper .subscription-badge {
    margin-left: auto;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.matrimony-profile-wrapper .subscription-badge.active {
    background: #10b98110;
    color: var(--success-color);
    border: 1px solid #10b98130;
}

.matrimony-profile-wrapper .subscription-badge.inactive {
    background: #ef444410;
    color: var(--danger-color);
    border: 1px solid #ef444430;
}

.matrimony-profile-wrapper .subscription-progress {
    margin: 1.5rem 0;
}

.matrimony-profile-wrapper .progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.matrimony-profile-wrapper .days-count {
    font-weight: 600;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .progress-bar {
    height: 0.5rem;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.matrimony-profile-wrapper .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), #34d399);
    border-radius: 9999px;
    transition: width 0.6s ease;
}

.matrimony-profile-wrapper .subscription-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.matrimony-profile-wrapper .detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matrimony-profile-wrapper .detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .subscription-actions {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .upgrade-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.matrimony-profile-wrapper .btn-upgrade {
    display: inline-flex;
}

/* Profile Content Grid */
.matrimony-profile-wrapper .profile-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

/* Main Profile Card */
.matrimony-profile-wrapper .profile-main-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .profile-header {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .profile-avatar {
    flex-shrink: 0;
}

.matrimony-profile-wrapper .avatar-image {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.matrimony-profile-wrapper .avatar-placeholder {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #8b5cf620, #7c3aed20);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.matrimony-profile-wrapper .profile-info-header {
    flex: 1;
}

.matrimony-profile-wrapper .profile-name {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .profile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.matrimony-profile-wrapper .meta-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Details Grid */
.matrimony-profile-wrapper .profile-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.matrimony-profile-wrapper .detail-group {
    margin-bottom: 1rem;
}

.matrimony-profile-wrapper .detail-group-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrimony-profile-wrapper .detail-icon {
    color: var(--primary-color);
}

.matrimony-profile-wrapper .detail-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.matrimony-profile-wrapper .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.matrimony-profile-wrapper .detail-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex-shrink: 0;
    min-width: 120px;
}

.matrimony-profile-wrapper .detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: right;
    flex: 1;
}

/* Side Cards */
.matrimony-profile-wrapper .profile-side-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.matrimony-profile-wrapper .side-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .preferences-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}

.matrimony-profile-wrapper .side-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrimony-profile-wrapper .side-card-icon {
    color: var(--primary-color);
}

.matrimony-profile-wrapper .side-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.matrimony-profile-wrapper .side-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.matrimony-profile-wrapper .side-detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matrimony-profile-wrapper .side-detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .preferences-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.matrimony-profile-wrapper .preference-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.matrimony-profile-wrapper .preference-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matrimony-profile-wrapper .preference-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .range-value {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .matrimony-profile-wrapper .profile-content-grid {
        grid-template-columns: 1fr;
    }
    
    .matrimony-profile-wrapper .profile-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .matrimony-profile-wrapper {
        padding: 1rem;
    }
    
    .matrimony-profile-wrapper .matrimony-profile-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .matrimony-profile-wrapper .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .matrimony-profile-wrapper .profile-details-grid {
        grid-template-columns: 1fr;
    }
    
    .matrimony-profile-wrapper .preferences-grid {
        grid-template-columns: 1fr;
    }
    
    .matrimony-profile-wrapper .detail-item {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }
    
    .matrimony-profile-wrapper .detail-value {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .matrimony-profile-wrapper .profile-main-card,
    .matrimony-profile-wrapper .subscription-card,
    .matrimony-profile-wrapper .side-card {
        padding: 1rem;
    }
    
    .matrimony-profile-wrapper .profile-title {
        font-size: 1.5rem;
    }
    
    .matrimony-profile-wrapper .profile-name {
        font-size: 1.5rem;
    }
}

/* Animations */
.matrimony-profile-wrapper .subscription-card,
.matrimony-profile-wrapper .profile-main-card,
.matrimony-profile-wrapper .side-card {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Edit Form ==================================================================================================================================================================== */
/* Profile Edit Form Styles */
.matrimony-profile-wrapper .profile-edit-form-wrapper {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .edit-form-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .edit-form-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.matrimony-profile-wrapper .edit-icon {
    color: var(--primary-color);
}

.matrimony-profile-wrapper .edit-form-subtitle {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.matrimony-profile-wrapper .form-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.matrimony-profile-wrapper .form-section-card {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .preferences-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #e2e8f0;
}

.matrimony-profile-wrapper .form-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 1.25rem 0;
}

.matrimony-profile-wrapper .section-icon {
    color: var(--primary-color);
}

.matrimony-profile-wrapper .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.matrimony-profile-wrapper .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.matrimony-profile-wrapper .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .form-label .required {
    color: var(--danger-color);
    margin-left: 0.25rem;
}

.matrimony-profile-wrapper .form-input,
.matrimony-profile-wrapper .form-select,
.matrimony-profile-wrapper .form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.matrimony-profile-wrapper .form-input:hover,
.matrimony-profile-wrapper .form-select:hover,
.matrimony-profile-wrapper .form-textarea:hover {
    border-color: var(--primary-color);
}

.matrimony-profile-wrapper .form-input:focus,
.matrimony-profile-wrapper .form-select:focus,
.matrimony-profile-wrapper .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.matrimony-profile-wrapper .form-input::placeholder,
.matrimony-profile-wrapper .form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.matrimony-profile-wrapper .form-textarea {
    min-height: 100px;
    resize: vertical;
}

.matrimony-profile-wrapper .select-wrapper {
    position: relative;
}

.matrimony-profile-wrapper .select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

.matrimony-profile-wrapper .date-input-wrapper {
    position: relative;
}

.matrimony-profile-wrapper .date-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

.matrimony-profile-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* Image Upload Section */
.matrimony-profile-wrapper .image-upload-container {
    text-align: center;
}

.matrimony-profile-wrapper .image-preview-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.matrimony-profile-wrapper .image-preview {
    width: 120px;
    height: 120px;
    border-radius: 0.75rem;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow-lg);
}

.matrimony-profile-wrapper .preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.matrimony-profile-wrapper .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.matrimony-profile-wrapper .image-upload-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.matrimony-profile-wrapper .btn-upload,
.matrimony-profile-wrapper .btn-remove-image {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
}

.matrimony-profile-wrapper .matrimony-btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
}

.matrimony-profile-wrapper .matrimony-btn-danger:hover {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.matrimony-profile-wrapper .upload-hint {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin: 1rem 0 0 0;
}

/* Form Actions */
.matrimony-profile-wrapper .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .btn-save,
.matrimony-profile-wrapper .btn-cancel {
    padding: 0.875rem 2rem;
    font-weight: 500;
}

.matrimony-profile-wrapper .matrimony-btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .matrimony-btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--text-secondary);
}

/* Messages */
.matrimony-profile-wrapper .matrimony-messages {
    margin-top: 1.5rem;
    min-height: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .matrimony-profile-wrapper .profile-edit-form-wrapper {
        padding: 1rem;
    }
    
    .matrimony-profile-wrapper .form-section-card {
        padding: 1rem;
    }
    
    .matrimony-profile-wrapper .form-grid {
        grid-template-columns: 1fr;
    }
    
    .matrimony-profile-wrapper .form-actions {
        flex-direction: column;
    }
    
    .matrimony-profile-wrapper .btn-save,
    .matrimony-profile-wrapper .btn-cancel {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .matrimony-profile-wrapper .image-upload-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .matrimony-profile-wrapper .btn-upload,
    .matrimony-profile-wrapper .btn-remove-image {
        width: 200px;
    }
}

/* Animations */
.matrimony-profile-wrapper .form-section-card {
    animation: slideUp 0.3s ease-out;
}

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

/* Form Validation States */
.matrimony-profile-wrapper .form-input:invalid,
.matrimony-profile-wrapper .form-select:invalid {
    border-color: var(--danger-color);
}

.matrimony-profile-wrapper .form-input:valid:focus,
.matrimony-profile-wrapper .form-select:valid:focus {
    border-color: var(--success-color);
}
/* Complete Registration Page ==================================================================================================================================================================== */

.matrimony-complete-registration-wrapper {
    max-width: 480px;
    margin: 2rem auto;
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slideUp 0.4s ease-out;
}

.matrimony-complete-registration-wrapper h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.matrimony-complete-registration-wrapper::before {
    content: '';
    display: block;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    border-radius: 50%;
    position: relative;
}

.matrimony-complete-registration-wrapper::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

#matrimony-complete-registration-form {
    margin-top: 2rem;
}

#matrimony-complete-registration-form .form-group {
    margin-bottom: 1.5rem;
}

#matrimony-complete-registration-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

#matrimony-complete-registration-form input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.2s ease;
    font-family: inherit;
}

#matrimony-complete-registration-form input:hover {
    border-color: var(--primary-color);
}

#matrimony-complete-registration-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: var(--bg-primary);
}

#matrimony-complete-registration-form input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

#matrimony-complete-registration-form input[type="password"] {
    letter-spacing: 1px;
}

#matrimony-complete-registration-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

#matrimony-complete-registration-form button[type="submit"]::before {
    content: '✓';
    font-size: 1.125rem;
    font-weight: bold;
}

#matrimony-complete-registration-form .matrimony-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

#matrimony-complete-registration-form .matrimony-messages.success {
    background: linear-gradient(135deg, #10b98110, #10b98105);
    color: var(--success-color);
    border: 1px solid #10b98130;
}

#matrimony-complete-registration-form .matrimony-messages.error {
    background: linear-gradient(135deg, #ef444410, #ef444405);
    color: var(--danger-color);
    border: 1px solid #ef444430;
}

/* Password strength indicator */
.password-strength {
    margin-top: 0.5rem;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-meter {
    height: 100%;
    width: 0%;
    transition: width 0.3s ease, background 0.3s ease;
}

.password-strength-meter.weak {
    width: 33%;
    background: var(--danger-color);
}

.password-strength-meter.medium {
    width: 66%;
    background: var(--warning-color);
}

.password-strength-meter.strong {
    width: 100%;
    background: var(--success-color);
}

.password-match {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.8;
}

.password-match.match {
    color: var(--success-color);
}

.password-match.mismatch {
    color: var(--danger-color);
}

/* Responsive Design */
@media (max-width: 640px) {
    .matrimony-complete-registration-wrapper {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .matrimony-complete-registration-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .matrimony-complete-registration-wrapper::before {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .matrimony-complete-registration-wrapper::after {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .matrimony-complete-registration-wrapper {
        padding: 1.25rem;
        margin: 0.5rem auto;
    }
    
    .matrimony-complete-registration-wrapper h2 {
        font-size: 1.25rem;
    }
    
    #matrimony-complete-registration-form input {
        padding: 0.75rem;
    }
    
    #matrimony-complete-registration-form button[type="submit"] {
        padding: 0.875rem;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(124, 58, 237, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0);
    }
}

.matrimony-complete-registration-wrapper {
    animation: slideUp 0.4s ease-out;
}

#matrimony-complete-registration-form button[type="submit"]:hover {
    animation: pulse 1.5s infinite;
}

/* Focus states for accessibility */
#matrimony-complete-registration-form input:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

#matrimony-complete-registration-form button[type="submit"]:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* Registration form Page ==================================================================================================================================================================== */
/* Registration Form Styles */
.matrimony-profile-wrapper .matrimony-register-wrapper {
    max-width: 480px;
    margin: 2rem auto;
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: slideUp 0.4s ease-out;
}

/* Tabs Styling */
.matrimony-profile-wrapper .matrimony-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.matrimony-profile-wrapper .matrimony-tab-btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.matrimony-profile-wrapper .matrimony-tab-btn:hover {
    background: #e5e7eb;
    color: var(--text-primary);
}

.matrimony-profile-wrapper .matrimony-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.matrimony-profile-wrapper .matrimony-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1.1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--primary-color);
}

/* Tab Content */
.matrimony-profile-wrapper .matrimony-tab-content {
    min-height: 300px;
}

.matrimony-profile-wrapper .matrimony-tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.matrimony-profile-wrapper .matrimony-tab-pane.active {
    display: block;
}

/* Email Registration Form */
.matrimony-profile-wrapper #matrimony-email-register-form .form-group {
    margin-bottom: 1.5rem;
}

.matrimony-profile-wrapper #matrimony-email-register-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.matrimony-profile-wrapper #matrimony-email-register-form input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-secondary);
    transition: all 0.2s ease;
    font-family: inherit;
}

.matrimony-profile-wrapper #matrimony-email-register-form input[type="email"]:hover {
    border-color: var(--primary-color);
}

.matrimony-profile-wrapper #matrimony-email-register-form input[type="email"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: var(--bg-primary);
}

.matrimony-profile-wrapper #matrimony-email-register-form input[type="email"]::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Verification Sent Section */
.matrimony-profile-wrapper .verification-notice {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 1px solid #bae6fd;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }
}

.matrimony-profile-wrapper .notice-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-5px);
    }
}

.matrimony-profile-wrapper .verification-notice h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0369a1;
    margin: 0 0 0.75rem 0;
}

.matrimony-profile-wrapper .verification-notice p {
    color: #0c4a6e;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0.5rem 0;
}

.matrimony-profile-wrapper .verification-notice .note {
    font-weight: 500;
    color: #0c4a6e;
    margin-top: 1rem;
}

.matrimony-profile-wrapper .verification-notice .spam-notice {
    font-style: italic;
    color: #64748b;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #cbd5e1;
}

/* Buttons */
.matrimony-profile-wrapper #send-verification-btn,
.matrimony-profile-wrapper #resend-verification-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.matrimony-profile-wrapper #send-verification-btn {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.matrimony-profile-wrapper #send-verification-btn::before {
    content: '✉️';
    font-size: 1.125rem;
}

.matrimony-profile-wrapper #send-verification-btn:hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    opacity: 0;
    transform: rotate(30deg);
    background: rgba(255, 255, 255, 0.13);
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0.13) 0%,
        rgba(255, 255, 255, 0.13) 77%,
        rgba(255, 255, 255, 0.5) 92%,
        rgba(255, 255, 255, 0.0) 100%
    );
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    10% {
        opacity: 1;
        left: -60%;
        transition-property: left, top, opacity;
        transition-duration: 0.7s, 0.7s, 0.15s;
        transition-timing-function: ease;
    }
    100% {
        opacity: 0;
        left: 110%;
        transition-property: left, top, opacity;
    }
}

.matrimony-profile-wrapper #resend-verification-btn {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    position: relative;
}

.matrimony-profile-wrapper #resend-verification-btn::before {
    content: '↻';
    font-size: 1.125rem;
}

/* Social Login Styles */
.matrimony-profile-wrapper .matrimony-social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
}

.matrimony-profile-wrapper .matrimony-social-btn {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
}

.matrimony-profile-wrapper .matrimony-social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.matrimony-profile-wrapper .google-btn {
    color: #3c4043;
    border-color: #dadce0;
}

.matrimony-profile-wrapper .google-btn:hover {
    background: #f8f9fa;
    border-color: #d2e3fc;
}

.matrimony-profile-wrapper .facebook-btn {
    color: #1877F2;
    border-color: #1877F2;
}

.matrimony-profile-wrapper .facebook-btn:hover {
    background: #1877F2;
    color: white;
}

.matrimony-profile-wrapper .matrimony-social-btn svg {
    width: 18px;
    height: 18px;
}

/* Messages Container */
.matrimony-profile-wrapper .matrimony-messages {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
}

.matrimony-profile-wrapper .matrimony-messages.success {
    background: linear-gradient(135deg, #10b98110, #10b98105);
    color: var(--success-color);
    border: 1px solid #10b98130;
}

.matrimony-profile-wrapper .matrimony-messages.error {
    background: linear-gradient(135deg, #ef444410, #ef444405);
    color: var(--danger-color);
    border: 1px solid #ef444430;
}

.matrimony-profile-wrapper .matrimony-messages.info {
    background: linear-gradient(135deg, #3b82f610, #3b82f605);
    color: #3b82f6;
    border: 1px solid #3b82f630;
}

/* Responsive Design */
@media (max-width: 640px) {
    .matrimony-profile-wrapper .matrimony-register-wrapper {
        margin: 1rem auto;
        padding: 1.5rem;
    }
    
    .matrimony-profile-wrapper .matrimony-tabs {
        flex-direction: column;
    }
    
    .matrimony-profile-wrapper .matrimony-tab-btn.active::after {
        display: none;
    }
    
    .matrimony-profile-wrapper .verification-notice {
        padding: 1.25rem;
    }
    
    .matrimony-profile-wrapper .verification-notice h3 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .matrimony-profile-wrapper .matrimony-register-wrapper {
        padding: 1.25rem;
        margin: 0.5rem auto;
    }
    
    .matrimony-profile-wrapper .matrimony-tab-content {
        min-height: 250px;
    }
    
    .matrimony-profile-wrapper #matrimony-email-register-form input[type="email"],
    .matrimony-profile-wrapper .matrimony-social-btn {
        padding: 0.75rem;
    }
}

/* Loading States */
.matrimony-profile-wrapper .loading {
    position: relative;
    color: transparent !important;
}

.matrimony-profile-wrapper .loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus states for accessibility */
.matrimony-profile-wrapper .matrimony-tab-btn:focus-visible,
.matrimony-profile-wrapper #matrimony-email-register-form input[type="email"]:focus-visible,
.matrimony-profile-wrapper .matrimony-social-btn:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Form Sections Transitions */
.matrimony-profile-wrapper #verification-sent-section,
.matrimony-profile-wrapper #send-verification-section {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.matrimony-profile-wrapper #verification-sent-section.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}

.matrimony-profile-wrapper #send-verification-section.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}


/* Login Page ==================================================================================================================================================================== */
/* Login Form Styles */
.matrimony-login-wrapper {
    max-width: 400px;
    margin: 3rem auto;
    animation: slideUp 0.4s ease-out;
}

.matrimony-login-container {
    background: var(--bg-primary, #ffffff);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    border: 1px solid var(--border-color, #e5e7eb);
}

.matrimony-login-container h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary, #1f2937);
    margin: 0 0 2rem 0;
    line-height: 1.3;
    position: relative;
}

.matrimony-login-container h2::after {
    content: '🔐';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color, #7c3aed), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matrimony-form .form-group {
    margin-bottom: 1.5rem;
}

.matrimony-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary, #1f2937);
    margin-bottom: 0.5rem;
}

.matrimony-form input[type="email"],
.matrimony-form input[type="password"],
.matrimony-form input[type="number"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color, #e5e7eb);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary, #1f2937);
    background: var(--bg-secondary, #f9fafb);
    transition: all 0.2s ease;
    font-family: inherit;
}

.matrimony-form input:hover {
    border-color: var(--primary-color, #7c3aed);
}

.matrimony-form input:focus {
    outline: none;
    border-color: var(--primary-color, #7c3aed);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
    background: var(--bg-primary, #ffffff);
}

.matrimony-form input::placeholder {
    color: var(--text-secondary, #6b7280);
    opacity: 0.7;
}

.matrimony-form input[type="password"] {
    letter-spacing: 1px;
}

/* Captcha Section */
.matrimony-form .captcha-group {
    position: relative;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1.25rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin: 2rem 0;
}

.matrimony-form .captcha-group label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.matrimony-form .captcha-question {
    font-family: 'Courier New', monospace;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color, #7c3aed);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid var(--primary-color, #7c3aed);
    min-width: 80px;
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(124, 58, 237, 0);
    }
}

.matrimony-form .captcha-group input[type="number"] {
    padding-right: 3.5rem;
    background: white;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
}

.matrimony-form #refresh-captcha {
    position: absolute;
    right: 1.5rem;
    bottom: 1.85rem;
    background: linear-gradient(135deg, var(--primary-color, #7c3aed), #9333ea);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.matrimony-form #refresh-captcha:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.matrimony-form #refresh-captcha .dashicons {
    font-size: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    line-height: 1;
    animation: spinSlow 20s linear infinite;
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.matrimony-form #refresh-captcha:hover .dashicons {
    animation: spinFast 0.5s linear infinite;
}

@keyframes spinFast {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Checkbox */
.matrimony-form .checkbox-group {
    margin: 1.5rem 0;
}

.matrimony-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.matrimony-form .checkbox-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    border-radius: 0.375rem;
    border: 2px solid var(--border-color, #e5e7eb);
    background: var(--bg-primary, #ffffff);
    cursor: pointer;
    appearance: none;
    position: relative;
    transition: all 0.2s ease;
}

.matrimony-form .checkbox-label input[type="checkbox"]:checked {
    background: var(--primary-color, #7c3aed);
    border-color: var(--primary-color, #7c3aed);
}

.matrimony-form .checkbox-label input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
}

.matrimony-form .checkbox-label span {
    font-size: 0.875rem;
    color: var(--text-primary, #1f2937);
    font-weight: 500;
}

/* Submit Button */
.matrimony-form .btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    margin: 0.5rem 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.matrimony-form .btn-block::before {
    content: '→';
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.matrimony-form .btn-block:hover::before {
    transform: translateX(5px);
}

.matrimony-form .btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}

/* Messages */
.matrimony-messages {
    margin: 1.5rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

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

.matrimony-messages.success {
    background: linear-gradient(135deg, #10b98110, #10b98105);
    color: var(--success-color, #10b981);
    border: 1px solid #10b98130;
}

.matrimony-messages.error {
    background: linear-gradient(135deg, #ef444410, #ef444405);
    color: var(--danger-color, #ef4444);
    border: 1px solid #ef444430;
}

/* Form Footer */
.matrimony-form .form-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color, #e5e7eb);
}

.matrimony-form .form-footer p {
    margin: 0.75rem 0;
    color: var(--text-secondary, #6b7280);
    font-size: 0.875rem;
}

.matrimony-form .form-footer a {
    color: var(--primary-color, #7c3aed);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.matrimony-form .form-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color, #7c3aed);
    transition: width 0.3s ease;
}

.matrimony-form .form-footer a:hover {
    color: var(--primary-hover, #6d28d9);
}

.matrimony-form .form-footer a:hover::after {
    width: 100%;
}

.matrimony-form .forgot-password-link {
    font-size: 0.875rem;
}

.matrimony-form .register-link {
    margin-left: 0.25rem;
}

/* Description Text */
.matrimony-form .description {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-secondary, #6b7280);
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 640px) {
    .matrimony-login-wrapper {
        margin: 1.5rem auto;
        padding: 0 1rem;
    }
    
    .matrimony-login-container {
        padding: 1.75rem;
    }
    
    .matrimony-login-container h2 {
        font-size: 1.5rem;
    }
    
    .matrimony-login-container h2::after {
        font-size: 2rem;
        top: -1.5rem;
    }
    
    .matrimony-form .captcha-group {
        padding: 1rem;
    }
    
    .matrimony-form .captcha-question {
        font-size: 1rem;
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .matrimony-login-container {
        padding: 1.5rem;
    }
    
    .matrimony-login-container h2 {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .matrimony-form input[type="email"],
    .matrimony-form input[type="password"],
    .matrimony-form input[type="number"] {
        padding: 0.75rem;
    }
    
    .matrimony-form .btn-block {
        padding: 0.875rem;
    }
}

/* Loading State */
.matrimony-form .loading {
    position: relative;
    color: transparent !important;
}

.matrimony-form .loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States for Accessibility */
.matrimony-form input:focus-visible,
.matrimony-form #refresh-captcha:focus-visible,
.matrimony-form .btn-block:focus-visible,
.matrimony-form .checkbox-label input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--primary-color, #7c3aed);
    outline-offset: 2px;
}

/* Subscription Page ==================================================================================================================================================================== */
.matrimony-subscriptions-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.matrimony-subscriptions-header {
    text-align: center;
    margin-bottom: 50px;
}

.matrimony-subscriptions-header h2 {
    margin-bottom: 10px;
    font-size: 32px;
    color: #333;
}

.matrimony-subscriptions-header p {
    font-size: 18px;
    color: #666;
}

.matrimony-subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.subscription-plan {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.subscription-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.subscription-plan.featured {
    border-color: #e91e63;
    box-shadow: 0 4px 12px rgba(233,30,99,0.2);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #e91e63;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-header h3 {
    margin: 0 0 20px 0;
    font-size: 24px;
    color: #333;
}

.plan-price {
    margin-bottom: 30px;
}

.plan-price .currency {
    font-size: 20px;
    color: #666;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: #e91e63;
}

.plan-price .period {
    font-size: 16px;
    color: #666;
}

.plan-features {
    margin-bottom: 30px;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.plan-features li .dashicons {
    color: #4caf50;
    margin-right: 10px;
}

.subscription-benefits {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    margin-top: 50px;
}

.subscription-benefits h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 28px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-item {
    text-align: center;
}

.benefit-item .dashicons {
    font-size: 48px;
    color: #e91e63;
    margin-bottom: 15px;
}

.benefit-item h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    color: #333;
}

.benefit-item p {
    color: #666;
    margin: 0;
}

/* Pagination */
.matrimony-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.matrimony-pagination a,
.matrimony-pagination span {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
}

.matrimony-pagination a:hover {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

.matrimony-pagination .current {
    background: #e91e63;
    color: #fff;
    border-color: #e91e63;
}

/* Loading */
.loading-message {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .matrimony-layout {
        grid-template-columns: 1fr;
    }
    
    .matrimony-sidebar {
        position: static;
    }
    
    .matrimony-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .search-fields {
        grid-template-columns: 1fr;
    }
}

.matrimony-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.matrimony-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

/* Modal Styles */
.matrimony-modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--bg-primary, #ffffff);
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl, 0 25px 50px -12px rgba(0, 0, 0, 0.25));
    z-index: 10000;
    opacity: 0;
    animation: modalShow 0.3s ease-out forwards;
    overflow: hidden;
    border: 1px solid var(--border-color, #e5e7eb);
}

@keyframes modalShow {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Modal Backdrop */
.matrimony-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    animation: backdropShow 0.3s ease-out forwards;
}

@keyframes backdropShow {
    to {
        opacity: 1;
    }
}

/* Modal Header */
.matrimony-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color, #7c3aed), #9333ea);
    color: white;
    position: relative;
    z-index: 1;
}

.matrimony-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: -1;
}

.matrimony-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.matrimony-modal-header h3::before {
    content: '🛒';
    font-size: 1.25rem;
}

/* Close Button */
.matrimony-modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
    padding: 0;
}

.matrimony-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.matrimony-modal-close:active {
    transform: scale(0.95) rotate(90deg);
}

/* Modal Body */
.matrimony-modal-body {
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Loading State */
.matrimony-modal-body.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.matrimony-modal-body.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-color, #e5e7eb);
    border-top-color: var(--primary-color, #7c3aed);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 3;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Iframe Styling */
#popup-checkout-content {
    position: relative;
    height: 600px;
    overflow: scroll;
}

#checkout-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 1rem 1rem;
    transition: opacity 0.3s ease;
}

#checkout-iframe.loading {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .matrimony-modal-content {
        width: 95%;
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .matrimony-modal-content {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        transform: translate(-50%, -50%) scale(1);
    }
    
    .matrimony-modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .matrimony-modal-header h3 {
        font-size: 1.25rem;
    }
    
    #popup-checkout-content {
        height: calc(100vh - 80px);
    }
}

@media (max-width: 480px) {
    .matrimony-modal-header {
        padding: 1rem 1.25rem;
    }
    
    .matrimony-modal-header h3 {
        font-size: 1.125rem;
        gap: 0.5rem;
    }
    
    .matrimony-modal-close {
        width: 2rem;
        height: 2rem;
        font-size: 1.25rem;
    }
}

/* Modal Animation Variations */
.matrimony-modal-content.slide-up {
    animation: modalSlideUp 0.3s ease-out forwards;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translate(-50%, 100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.matrimony-modal-content.zoom-in {
    animation: modalZoomIn 0.3s ease-out forwards;
}

@keyframes modalZoomIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Modal Footer (if needed later) */
.matrimony-modal-footer {
    padding: 1rem 2rem;
    background: var(--bg-secondary, #f9fafb);
    border-top: 1px solid var(--border-color, #e5e7eb);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Error State */
.matrimony-modal-body.error::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(239, 68, 68, 0.05);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.matrimony-modal-body.error::after {
    content: '⚠️';
    font-size: 3rem;
    position: relative;
    z-index: 3;
}

.matrimony-modal-body.error .error-message {
    position: relative;
    z-index: 3;
    color: var(--danger-color, #ef4444);
    font-weight: 500;
    font-size: 1rem;
}

/* Success State */
.matrimony-modal-body.success::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.05);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    text-align: center;
}

.matrimony-modal-body.success::after {
    content: '✅';
    font-size: 3rem;
    position: relative;
    z-index: 3;
    animation: bounce 0.5s ease-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Focus States for Accessibility */
.matrimony-modal-close:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .matrimony-modal-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: none;
        box-shadow: none;
        border: 2px solid #000;
    }
    
    .matrimony-modal-backdrop {
        display: none;
    }
    
    #checkout-iframe {
        height: auto;
        min-height: 100vh;
    }
}



/* Profile Detail Page ==================================================================================================================================================================== */
.matrimony-profile-detail-wrapper .matrimony-profile-detail-header {
    margin-bottom: 2rem;
}

.matrimony-profile-detail-wrapper .matrimony-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.matrimony-profile-detail-wrapper .matrimony-back-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateX(-2px);
}

/* Main Profile Detail Container */
.matrimony-profile-detail-wrapper .matrimony-profile-detail {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease-out;
}

/* Profile Header Section */
.matrimony-profile-detail-wrapper .profile-detail-header {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border-color);
}

.matrimony-profile-detail-wrapper .profile-detail-image {
    flex-shrink: 0;
}

.matrimony-profile-detail-wrapper .profile-detail-image img {
    width: 180px;
    height: 180px;
    border-radius: 1rem;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.matrimony-profile-detail-wrapper .profile-image-placeholder {
    width: 180px;
    height: 180px;
    border-radius: 1rem;
    background: linear-gradient(135deg, #8b5cf620, #7c3aed20);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
}

.matrimony-profile-detail-wrapper .profile-image-placeholder .dashicons {
    font-size: 4rem;
    color: var(--primary-color);
    width: auto;
    height: auto;
}

/* Profile Info */
.matrimony-profile-detail-wrapper .profile-detail-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.matrimony-profile-detail-wrapper .profile-detail-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: var(--text-primary);
    line-height: 1.2;
}

.matrimony-profile-detail-wrapper .profile-basic-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.matrimony-profile-detail-wrapper .info-badge {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.matrimony-profile-detail-wrapper .info-badge:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.matrimony-profile-detail-wrapper .match-score {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.matrimony-profile-detail-wrapper .match-score strong {
    color: var(--text-secondary);
    font-weight: 600;
}

.matrimony-profile-detail-wrapper .score-badge {
    background: linear-gradient(135deg, var(--success-color), #34d399);
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

/* Profile Sections Grid */
.matrimony-profile-detail-wrapper .profile-detail-sections {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}
.profile-img-info {
    padding: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.matrimony-profile-detail-wrapper .profile-detail-section {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.matrimony-profile-detail-wrapper .profile-detail-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.matrimony-profile-detail-wrapper .profile-detail-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrimony-profile-detail-wrapper .profile-detail-section h3:before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

/* Detail Table Styles */
.matrimony-profile-detail-wrapper .matrimony-detail-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.matrimony-profile-detail-wrapper .matrimony-detail-table tr {
    transition: background-color 0.2s ease;
}

.matrimony-profile-detail-wrapper .matrimony-detail-table tr:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.matrimony-profile-detail-wrapper .matrimony-detail-table th {
    text-align: left;
    padding: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.875rem;
    white-space: nowrap;
    width: 40%;
}

.matrimony-profile-detail-wrapper .matrimony-detail-table td {
    padding: 0.75rem 0;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Details Section */
.matrimony-profile-detail-wrapper .subscription-required {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 0.75rem;
    border: 1px solid #fbbf24;
}

.matrimony-profile-detail-wrapper .subscription-required p {
    margin: 0 0 1.5rem 0;
    color: #92400e;
    font-size: 0.875rem;
    line-height: 1.5;
}

.matrimony-profile-detail-wrapper .matrimony-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.matrimony-profile-detail-wrapper .matrimony-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    box-shadow: var(--shadow-md);
}

.matrimony-profile-detail-wrapper .matrimony-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-hover), #7e22ce);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .matrimony-profile-detail-wrapper .profile-detail-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .matrimony-profile-detail-wrapper {
        padding: 1rem;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-image img,
    .matrimony-profile-detail-wrapper .profile-image-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-info h2 {
        font-size: 1.5rem;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-sections {
        grid-template-columns: 1fr;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .matrimony-profile-detail-wrapper .matrimony-profile-detail {
        border-radius: 1rem;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-header,
    .matrimony-profile-detail-wrapper .profile-detail-section {
        padding: 1rem;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-image img,
    .matrimony-profile-detail-wrapper .profile-image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .matrimony-profile-detail-wrapper .profile-basic-info {
        justify-content: center;
    }
    
    .matrimony-profile-detail-wrapper .info-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.matrimony-profile-detail-wrapper .profile-detail-section {
    animation: slideUp 0.4s ease-out;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(1) {
    animation-delay: 0.1s;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(2) {
    animation-delay: 0.2s;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(3) {
    animation-delay: 0.3s;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(4) {
    animation-delay: 0.4s;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(5) {
    animation-delay: 0.5s;
}

.matrimony-profile-detail-wrapper .profile-detail-section:nth-child(6) {
    animation-delay: 0.6s;
}
.matrimony-profile-detail table td, .matrimony-profile-detail table th{
    border: none !important;
}
/* Print Styles */
@media print {
    .matrimony-profile-detail-wrapper .matrimony-profile-detail-header,
    .matrimony-profile-detail-wrapper .subscription-required {
        display: none;
    }
    
    .matrimony-profile-detail-wrapper {
        padding: 0;
        background: white;
    }
    
    .matrimony-profile-detail-wrapper .matrimony-profile-detail {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-header {
        background: white;
        border-bottom: 1px solid #ddd;
    }
    
    .matrimony-profile-detail-wrapper .profile-detail-section {
        break-inside: avoid;
        border: 1px solid #ddd;
    }
}




/* Search Page ==================================================================================================================================================================== */
.matrimony-search-wrapper .matrimony-search-header {
    text-align: center;
    margin: 3rem;
}

.matrimony-search-wrapper .matrimony-search-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.matrimony-search-wrapper .matrimony-search-form {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    animation: slideUp 0.4s ease-out;
}

.matrimony-search-wrapper #matrimony-basic-search-form .search-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.matrimony-search-wrapper .search-field {
    display: flex;
    flex-direction: column;
}

.matrimony-search-wrapper .search-field label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.matrimony-search-wrapper .search-field select,
.matrimony-search-wrapper .search-field input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.matrimony-search-wrapper .search-field select:focus,
.matrimony-search-wrapper .search-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.matrimony-search-wrapper .search-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' 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 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.matrimony-search-wrapper .matrimony-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    outline: none;
}

.matrimony-search-wrapper .matrimony-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    box-shadow: var(--shadow-md);
}

.matrimony-search-wrapper .matrimony-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-hover), #7e22ce);
}

.matrimony-search-wrapper .matrimony-btn-secondary {
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.matrimony-search-wrapper .matrimony-btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.matrimony-search-wrapper .btn-block {
    width: 100%;
}

/* .matrimony-search-wrapper .matrimony-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
} */

.profile-card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* .profile-card-wrapper {
    margin-bottom: 20px;
} */
/* .match-score-badge{
    display: none;
}
.profile-card:hover .match-score-badge{
    display: block;
    position: relative;
    bottom: 200px;
    color: white;
} */

.matrimony-search-wrapper .matrimony-sidebar {
    position: sticky;
    top: 2rem;
    height: fit-content;
}

.matrimony-search-wrapper .filter-section {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
}

.matrimony-search-wrapper .filter-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrimony-search-wrapper .filter-section h3:before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}

.matrimony-search-wrapper #matrimony-advanced-filters {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.matrimony-search-wrapper .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.matrimony-search-wrapper .filter-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.matrimony-search-wrapper .filter-group input,
.matrimony-search-wrapper .filter-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: all 0.2s ease;
}

.matrimony-search-wrapper .filter-group input:focus,
.matrimony-search-wrapper .filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.matrimony-search-wrapper .filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.matrimony-search-wrapper .matrimony-results-area {
    background: var(--bg-primary);
    border-radius: 1.5rem;
    padding: 0.5rem;
    box-shadow: var(--shadow-lg);
}

.matrimony-search-wrapper .loading-message {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    flex-direction: column;
    gap: 1rem;
}

.matrimony-search-wrapper .loading-message p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin: 0;
}

.matrimony-search-wrapper .loading-message:before {
    content: "";
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.matrimony-search-wrapper .matrimony-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.matrimony-search-wrapper .profile-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s ease-out;
    height: 100%;
}

.matrimony-search-wrapper .profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.matrimony-search-wrapper .profile-card-header {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #8b5cf620, #7c3aed20);
    flex-shrink: 0;
}

.matrimony-search-wrapper .profile-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}
.matrimony-search-wrapper .profile-card img {
    aspect-ratio: 4/3;  /* 1/1, 3/4, 16/9 */
    object-fit: cover;
    /* border-radius: 8px; */
}
.matrimony-search-wrapper .profile-card:hover .profile-card-header img {
    transform: scale(1.05);
}

.matrimony-search-wrapper .profile-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b5cf620, #7c3aed20);
    color: var(--primary-color);
}

.matrimony-search-wrapper .profile-image-placeholder svg {
    width: 60px;
    height: 60px;
    stroke: var(--primary-color);
    stroke-width: 1.5;
    opacity: 0.6;
}

.matrimony-search-wrapper .profile-match-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--success-color), #34d399);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    z-index: 10;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.matrimony-search-wrapper .profile-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.matrimony-search-wrapper .profile-card-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.3;
}

.matrimony-search-wrapper .profile-card-content .profile-age {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 400;
    white-space: nowrap;
    flex-shrink: 0;
}

.matrimony-search-wrapper .profile-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.matrimony-search-wrapper .profile-badge {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    white-space: nowrap;
}

.matrimony-search-wrapper .profile-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex: 1;
}
h3.profile-card-title {
    margin: 0;
}
.matrimony-search-wrapper .profile-detail {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.matrimony-search-wrapper .profile-detail-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.matrimony-search-wrapper .profile-detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.matrimony-search-wrapper .profile-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.matrimony-search-wrapper .profile-card-actions .matrimony-btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

.matrimony-search-wrapper .matrimony-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
}

.matrimony-search-wrapper .pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-primary);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.matrimony-search-wrapper .pagination-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.matrimony-search-wrapper .pagination-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #9333ea);
    color: white;
    border-color: transparent;
    box-shadow: var(--shadow-md);
}

.matrimony-search-wrapper .pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.matrimony-search-wrapper .no-results {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.matrimony-search-wrapper .no-results-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.matrimony-search-wrapper .no-results h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
}

.matrimony-search-wrapper .no-results p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.matrimony-search-wrapper .profile-card:nth-child(1) { animation-delay: 0.05s; }
.matrimony-search-wrapper .profile-card:nth-child(2) { animation-delay: 0.1s; }
.matrimony-search-wrapper .profile-card:nth-child(3) { animation-delay: 0.15s; }
.matrimony-search-wrapper .profile-card:nth-child(4) { animation-delay: 0.2s; }
.matrimony-search-wrapper .profile-card:nth-child(5) { animation-delay: 0.25s; }
.matrimony-search-wrapper .profile-card:nth-child(6) { animation-delay: 0.3s; }
.matrimony-search-wrapper .profile-card:nth-child(7) { animation-delay: 0.35s; }
.matrimony-search-wrapper .profile-card:nth-child(8) { animation-delay: 0.4s; }

@media (max-width: 1400px) {
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .matrimony-search-wrapper .profile-card-header {
        height: 180px;
    }
}

@media (max-width: 992px) {
    .matrimony-search-wrapper .matrimony-layout {
        grid-template-columns: 1fr;
    }
    
    .matrimony-search-wrapper .matrimony-sidebar {
        position: static;
    }
    
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .matrimony-search-wrapper {
        padding: 1rem;
    }
    
    .matrimony-search-wrapper .matrimony-search-header h2 {
        font-size: 2rem;
    }
    
    .matrimony-search-wrapper .matrimony-search-form,
    .matrimony-search-wrapper .filter-section,
    .matrimony-search-wrapper .matrimony-results-area {
        padding: 0.5rem;
        border-radius: 1rem;
    }
    
    .matrimony-search-wrapper #matrimony-basic-search-form .search-fields {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .matrimony-search-wrapper .profile-card-header {
        height: 160px;
    }
    
    .matrimony-search-wrapper .profile-card-content {
        padding: 1.25rem;
    }
}

@media (max-width: 640px) {
    .matrimony-search-wrapper #matrimony-basic-search-form .search-fields {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    select#search_gender, #matrimony-basic-search-form .search-field input, button.matrimony-btn.matrimony-btn-primary {
        padding: 10px;
    }
    .matrimony-search-wrapper .matrimony-search-form {
        padding: 0.5rem;
    }
    .matrimony-header-content {
        gap: 0;
    }
    
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 10px;
    }
    
    .matrimony-search-wrapper .profile-card-header {
        height: 200px;
    }
    
    .matrimony-search-wrapper .profile-details {
        grid-template-columns: repeat(2, 1fr);
    }
    h3.profile-card-title {
        margin: 0;
        font-size: 20px;
    }
    .profile-card-wrapper {
        margin-bottom: 0;
    }
    .matrimony-search-wrapper .btn-block {
        padding: 0;
    }
    p.profile-card-info, .match-score-badge {
        font-size: 13px;
    }
    .profile-card-body {
        padding: 6px;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .matrimony-search-wrapper .profile-card-header {
        height: 180px;
    }
    
    .matrimony-search-wrapper .profile-image-placeholder svg {
        width: 48px;
        height: 48px;
    }
    
    .matrimony-search-wrapper .profile-match-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.25rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .matrimony-search-wrapper .profile-card-content h3 {
        font-size: 1rem;
    }
}

@media print {
    .matrimony-search-wrapper .matrimony-sidebar,
    .matrimony-search-wrapper .matrimony-search-form,
    .matrimony-search-wrapper .matrimony-pagination {
        display: none;
    }
    
    .matrimony-search-wrapper .matrimony-profiles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .matrimony-search-wrapper .profile-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .matrimony-search-wrapper .profile-card-header {
        height: 120px;
    }
    
    .matrimony-search-wrapper .profile-match-badge {
        display: none;
    }
}



/* Matrimony User Dashboard Styles ==================================================================================================================================================================== */
:root {
    --matrimony-primary: #d63384;
    --matrimony-primary-dark: #a02666;
    --matrimony-secondary: #6f42c1;
    --matrimony-light: #f8f9fa;
    --matrimony-dark: #343a40;
    --matrimony-gray: #6c757d;
    --matrimony-light-gray: #e9ecef;
    --matrimony-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --matrimony-transition: all 0.3s ease;
}

.matrimony-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.matrimony-header {
    background-color: white;
    box-shadow: var(--matrimony-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.matrimony-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.matrimony-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.matrimony-logo-icon {
    color: var(--matrimony-primary);
    font-size: 28px;
}

.matrimony-logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, var(--matrimony-primary), var(--matrimony-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.matrimony-logo-text img {
    height: 60px;
}

.matrimony-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.matrimony-btn {
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--matrimony-transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.matrimony-btn-primary {
    background-color: var(--matrimony-primary);
    color: white;
}

.matrimony-btn-primary:hover {
    background-color: var(--matrimony-primary-dark);
    transform: translateY(-2px);
}

.matrimony-btn-outline {
    background-color: transparent;
    color: var(--matrimony-primary);
    border: 2px solid var(--matrimony-primary);
}

.matrimony-btn-outline:hover {
    background-color: rgba(214, 51, 132, 0.1);
}

/* Profile Dropdown */
.matrimony-profile-container {
    position: relative;
}

.matrimony-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 30px;
    transition: var(--matrimony-transition);
}

.matrimony-profile-btn:hover {
    background-color: var(--matrimony-light-gray);
}

.matrimony-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--matrimony-light-gray);
}

.matrimony-profile-name {
    font-weight: 600;
    color: var(--matrimony-dark);
}

.matrimony-profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border-radius: 10px;
    box-shadow: var(--matrimony-shadow);
    width: 200px;
    padding: 10px 0;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--matrimony-transition);
    z-index: 100;
}

.matrimony-profile-container:hover .matrimony-profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.matrimony-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--matrimony-dark);
    transition: var(--matrimony-transition);
}

.matrimony-dropdown-item:hover {
    background-color: var(--matrimony-light-gray);
    color: var(--matrimony-primary);
}

.matrimony-dropdown-item i {
    width: 20px;
    color: var(--matrimony-gray);
}

.matrimony-dropdown-divider {
    height: 1px;
    background-color: var(--matrimony-light-gray);
    margin: 8px 0;
}

/* Hero Section */
.matrimony-hero {
    background: linear-gradient(135deg, rgb(0 0 0 / 67%), rgb(217 0 255 / 34%)), url(../img/couple-banner.jpg) center / cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.matrimony-hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.matrimony-hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.matrimony-hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.matrimony-stat-item {
    text-align: center;
}

.matrimony-stat-number {
    font-size: 36px;
    font-weight: 700;
    display: block;
}

.matrimony-stat-label {
    font-size: 14px;
    opacity: 0.9;
}

.matrimony-main-content.matrimony-active {
    display: flex;
}

/* Settings Sidebar */
.matrimony-settings-sidebar {
    width: 280px;
    background-color: white;
    border-right: 1px solid var(--matrimony-light-gray);
    padding: 30px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.matrimony-sidebar-title {
    padding: 0 25px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--matrimony-dark);
    border-bottom: 1px solid var(--matrimony-light-gray);
    margin-bottom: 20px;
}

.matrimony-sidebar-menu {
    list-style: none;
}

.matrimony-menu-item {
    margin-bottom: 5px;
}

.matrimony-menu-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    text-decoration: none;
    color: var(--matrimony-dark);
    transition: var(--matrimony-transition);
    border-left: 4px solid transparent;
    text-decoration: none !important;
}

.matrimony-menu-link:hover, .matrimony-menu-link.matrimony-active {
    background-color: rgba(214, 51, 132, 0.08);
    color: var(--matrimony-primary);
    border-left-color: var(--matrimony-primary);
}

.matrimony-menu-link i {
    width: 20px;
    font-size: 18px;
}

/* Settings Content */
.matrimony-settings-content {
    flex: 1;
    padding: 30px;
}

.matrimony-settings-header {
    margin-bottom: 30px;
}

.matrimony-settings-header h1 {
    font-size: 28px;
    color: var(--matrimony-dark);
    margin-bottom: 10px;
}

.matrimony-settings-header p {
    color: var(--matrimony-gray);
}

.matrimony-settings-section {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--matrimony-shadow);
    margin-bottom: 25px;
}

.matrimony-section-title {
    font-size: 20px;
    color: var(--matrimony-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--matrimony-light-gray);
}

/* Dashboard Specific Styles */
.matrimony-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.matrimony-stat-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--matrimony-shadow);
    transition: var(--matrimony-transition);
}

.matrimony-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.matrimony-stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.matrimony-stat-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.matrimony-stat-card-icon.matrimony-primary {
    background-color: rgba(214, 51, 132, 0.1);
    color: var(--matrimony-primary);
}

.matrimony-stat-card-icon.matrimony-success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.matrimony-stat-card-icon.matrimony-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
}

.matrimony-stat-card-icon.matrimony-warning {
    background-color: rgba(255, 193, 7, 0.1);
    color: #ffc107;
}

.matrimony-stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--matrimony-dark);
    margin-bottom: 5px;
}

.matrimony-stat-card-label {
    color: var(--matrimony-gray);
    font-size: 14px;
}

.matrimony-stat-card-trend {
    font-size: 12px;
    margin-top: 10px;
}

.matrimony-stat-card-trend.matrimony-up {
    color: #28a745;
}

.matrimony-stat-card-trend.matrimony-down {
    color: #dc3545;
}

.matrimony-chart-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--matrimony-shadow);
    margin-bottom: 25px;
}

.matrimony-chart-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--matrimony-dark);
}

.matrimony-chart-wrapper {
    position: relative;
    height: 300px;
}

.matrimony-recent-activity {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--matrimony-shadow);
}

.matrimony-activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--matrimony-light-gray);
    transition: var(--matrimony-transition);
}

.matrimony-activity-item:last-child {
    border-bottom: none;
}

.matrimony-activity-item:hover {
    background-color: var(--matrimony-light);
}

.matrimony-activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.matrimony-activity-content {
    flex: 1;
}

.matrimony-activity-text {
    font-size: 14px;
    color: var(--matrimony-dark);
    margin-bottom: 5px;
}

.matrimony-activity-time {
    font-size: 12px;
    color: var(--matrimony-gray);
}

.matrimony-form-group {
    margin-bottom: 20px;
}

.matrimony-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    margin-left: 8px;
    font-weight: 600;
}

.matrimony-badge.verified {
    background: #e6f9f0;
    color: #1e7f4d;
}

.matrimony-badge.unverified {
    background: #ffeaea;
    color: #c0392b;
}
.matrimony-form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--matrimony-dark);
}

.matrimony-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: var(--matrimony-transition);
}

.matrimony-form-control:focus {
    outline: none;
    border-color: var(--matrimony-primary);
    box-shadow: 0 0 0 3px rgba(214, 51, 132, 0.1);
}

.matrimony-checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrimony-checkbox-group input {
    width: 18px;
    height: 18px;
}

/* Footer Styles */
.matrimony-footer {
    background-color: var(--matrimony-dark);
    color: white;
    padding: 50px 0 20px;
}

.matrimony-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.matrimony-footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.matrimony-footer-column h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--matrimony-primary);
}

.matrimony-footer-links {
    list-style: none;
}

.matrimony-footer-links li {
    margin-bottom: 10px;
}

.matrimony-footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--matrimony-transition);
}

.matrimony-footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.matrimony-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .matrimony-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .matrimony-settings-sidebar {
        width: 250px;
    }

    .matrimony-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .matrimony-header-content {
        flex-wrap: wrap;
    }
    
    .matrimony-main-content {
        flex-direction: column;
    }
    
    .matrimony-settings-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--matrimony-light-gray);
    }
    
    .matrimony-footer-content {
        grid-template-columns: 1fr;
    }
    
    .matrimony-profile-name {
        display: none;
    }

    .matrimony-hero-content h1 {
        font-size: 32px;
    }

    .matrimony-hero-stats {
        flex-direction: column;
        gap: 30px;
    }

    .matrimony-dashboard-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container, .matrimony-main-content{
        padding: 0 !important;
    }
}
.matrimony-hidden {
    display: none;
}

/* Chat Styles */
.matrimony-chat-container {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--matrimony-shadow);
    height: 600px;
}

.matrimony-chat-list {
    border-right: 1px solid var(--matrimony-light-gray);
    overflow-y: auto;
}

.matrimony-chat-search {
    padding: 15px;
    border-bottom: 1px solid var(--matrimony-light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrimony-chat-search i {
    color: var(--matrimony-gray);
}

.matrimony-chat-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 14px;
}

.matrimony-chat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border-bottom: 1px solid var(--matrimony-light-gray);
    cursor: pointer;
    transition: var(--matrimony-transition);
}

.matrimony-chat-item:hover {
    background-color: var(--matrimony-light);
}

.matrimony-chat-item.matrimony-active-chat {
    background-color: rgba(214, 51, 132, 0.08);
}

.matrimony-chat-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.matrimony-chat-info {
    flex: 1;
    min-width: 0;
}

.matrimony-chat-name {
    font-weight: 600;
    color: var(--matrimony-dark);
    margin-bottom: 4px;
}

.matrimony-chat-preview {
    font-size: 13px;
    color: var(--matrimony-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.matrimony-chat-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.matrimony-chat-time {
    font-size: 11px;
    color: var(--matrimony-gray);
}

.matrimony-chat-badge {
    background-color: var(--matrimony-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.matrimony-chat-window {
    display: flex;
    flex-direction: column;
}

.matrimony-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--matrimony-light-gray);
}

.matrimony-chat-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.matrimony-chat-user img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
}

.matrimony-chat-username {
    font-weight: 600;
    color: var(--matrimony-dark);
}

.matrimony-chat-status {
    font-size: 12px;
    color: #28a745;
}

.matrimony-chat-status i {
    font-size: 8px;
}

.matrimony-chat-actions {
    display: flex;
    gap: 10px;
}

.matrimony-chat-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background-color: var(--matrimony-light);
    color: var(--matrimony-gray);
    cursor: pointer;
    transition: var(--matrimony-transition);
}

.matrimony-chat-action-btn:hover {
    background-color: var(--matrimony-light-gray);
    color: var(--matrimony-primary);
}

.matrimony-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f8f9fa;
}

.matrimony-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.matrimony-message.matrimony-sent {
    justify-content: flex-end;
}

.matrimony-message img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.matrimony-message-content {
    max-width: 60%;
}

.matrimony-message-text {
    background-color: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.matrimony-message.matrimony-sent .matrimony-message-text {
    background-color: var(--matrimony-primary);
    color: white;
}

.matrimony-message-time {
    font-size: 11px;
    color: var(--matrimony-gray);
    margin-top: 5px;
    padding: 0 5px;
}

.matrimony-chat-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-top: 1px solid var(--matrimony-light-gray);
    background-color: white;
}

.matrimony-chat-attach, .matrimony-chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: var(--matrimony-light);
    color: var(--matrimony-gray);
    cursor: pointer;
    transition: var(--matrimony-transition);
}

.matrimony-chat-send {
    background-color: var(--matrimony-primary);
    color: white;
}

.matrimony-chat-send:hover {
    background-color: var(--matrimony-primary-dark);
}

.matrimony-chat-input input {
    flex: 1;
    border: 1px solid var(--matrimony-light-gray);
    padding: 10px 15px;
    border-radius: 25px;
    outline: none;
}

/* Matches Styles */
.matrimony-matches-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.matrimony-filter-select {
    padding: 10px 15px;
    border: 1px solid var(--matrimony-light-gray);
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.matrimony-matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.matrimony-match-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--matrimony-shadow);
    transition: var(--matrimony-transition);
    position: relative;
}

.matrimony-match-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.matrimony-match-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 1;
}

.matrimony-premium-badge {
    background-color: #ffc107;
    color: #333;
}

.matrimony-online-badge {
    background-color: #28a745;
    color: white;
}

.matrimony-match-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.matrimony-match-details {
    padding: 20px;
}

.matrimony-match-details h3 {
    font-size: 20px;
    color: var(--matrimony-dark);
    margin-bottom: 8px;
}

.matrimony-match-age {
    color: var(--matrimony-gray);
    font-size: 14px;
    margin-bottom: 12px;
}

.matrimony-match-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--matrimony-dark);
    margin-bottom: 8px;
}

.matrimony-match-info i {
    color: var(--matrimony-primary);
    width: 16px;
}

.matrimony-match-compatibility {
    margin: 15px 0;
}

.matrimony-compatibility-bar {
    height: 6px;
    background-color: var(--matrimony-light-gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.matrimony-compatibility-fill {
    height: 100%;
    background: linear-gradient(to right, var(--matrimony-primary), var(--matrimony-secondary));
    border-radius: 3px;
}

.matrimony-compatibility-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--matrimony-primary);
}

.matrimony-match-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.matrimony-match-actions .matrimony-btn {
    flex: 1;
    justify-content: center;
    padding: 10px;
    font-size: 14px;
}

/* Search Styles */
.matrimony-search-form {
    padding: 10px 0;
}

.matrimony-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.matrimony-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.matrimony-range-inputs span {
    color: var(--matrimony-gray);
}

.matrimony-range-inputs input,
.matrimony-range-inputs select {
    flex: 1;
}

/* Notifications Styles */
.matrimony-notifications-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.matrimony-filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--matrimony-light-gray);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--matrimony-transition);
    font-size: 14px;
}

.matrimony-filter-btn:hover {
    border-color: var(--matrimony-primary);
    color: var(--matrimony-primary);
}

.matrimony-filter-btn.matrimony-active-filter {
    background-color: var(--matrimony-primary);
    color: white;
    border-color: var(--matrimony-primary);
}

.matrimony-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid var(--matrimony-light-gray);
    transition: var(--matrimony-transition);
}

.matrimony-notification-item:last-child {
    border-bottom: none;
}

.matrimony-notification-item.matrimony-unread {
    background-color: rgba(214, 51, 132, 0.03);
}

.matrimony-notification-item:hover {
    background-color: var(--matrimony-light);
}

.matrimony-notification-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.matrimony-notification-content {
    flex: 1;
}

.matrimony-notification-content h4 {
    font-size: 16px;
    color: var(--matrimony-dark);
    margin-bottom: 5px;
}

.matrimony-notification-content p {
    font-size: 14px;
    color: var(--matrimony-gray);
    margin-bottom: 8px;
}

.matrimony-notification-time {
    font-size: 12px;
    color: var(--matrimony-gray);
}

.matrimony-notification-time i {
    margin-right: 5px;
}

.matrimony-notification-actions {
    display: flex;
    gap: 10px;
}

/* Privacy Styles */
.matrimony-privacy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--matrimony-light-gray);
}

.matrimony-privacy-item:last-child {
    border-bottom: none;
}

.matrimony-privacy-info h4 {
    font-size: 16px;
    color: var(--matrimony-dark);
    margin-bottom: 5px;
}

.matrimony-privacy-info p {
    font-size: 14px;
    color: var(--matrimony-gray);
}

.matrimony-toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.matrimony-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.matrimony-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: var(--matrimony-transition);
    border-radius: 26px;
}

.matrimony-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: var(--matrimony-transition);
    border-radius: 50%;
}

.matrimony-toggle-switch input:checked + .matrimony-toggle-slider {
    background-color: var(--matrimony-primary);
}

.matrimony-toggle-switch input:checked + .matrimony-toggle-slider:before {
    transform: translateX(24px);
}

/* Help Styles */
.matrimony-help-search {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: var(--matrimony-shadow);
    margin-bottom: 30px;
}

.matrimony-help-search i {
    color: var(--matrimony-gray);
    font-size: 18px;
}

.matrimony-help-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
}

.matrimony-help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.matrimony-help-category {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--matrimony-shadow);
    text-align: center;
    transition: var(--matrimony-transition);
    cursor: pointer;
}

.matrimony-help-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.matrimony-help-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.matrimony-help-category h3 {
    font-size: 18px;
    color: var(--matrimony-dark);
    margin-bottom: 10px;
}

.matrimony-help-category p {
    font-size: 14px;
    color: var(--matrimony-gray);
}

.matrimony-faq-item {
    border-bottom: 1px solid var(--matrimony-light-gray);
    padding: 20px 0;
}

.matrimony-faq-item:last-child {
    border-bottom: none;
}

.matrimony-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--matrimony-transition);
}

.matrimony-faq-question:hover h4 {
    color: var(--matrimony-primary);
}

.matrimony-faq-question h4 {
    font-size: 16px;
    color: var(--matrimony-dark);
    transition: var(--matrimony-transition);
}

.matrimony-faq-question i {
    color: var(--matrimony-gray);
    transition: var(--matrimony-transition);
}

.matrimony-faq-answer {
    padding-top: 15px;
    display: none;
}

.matrimony-faq-item.matrimony-active .matrimony-faq-answer {
    display: block;
}

.matrimony-faq-item.matrimony-active .matrimony-faq-question i {
    transform: rotate(180deg);
}

.matrimony-faq-answer p {
    font-size: 14px;
    color: var(--matrimony-gray);
    line-height: 1.6;
}

.matrimony-support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.matrimony-support-card {
    background: var(--matrimony-light);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.matrimony-support-card i {
    font-size: 36px;
    color: var(--matrimony-primary);
    margin-bottom: 15px;
}

.matrimony-support-card h4 {
    font-size: 18px;
    color: var(--matrimony-dark);
    margin-bottom: 10px;
}

.matrimony-support-card p {
    font-size: 14px;
    color: var(--matrimony-gray);
    margin-bottom: 5px;
}

.matrimony-response-time {
    display: block;
    font-size: 12px;
    color: var(--matrimony-gray);
    margin-top: 10px;
}

.matrimony-quick-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.matrimony-quick-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--matrimony-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--matrimony-dark);
    transition: var(--matrimony-transition);
}

.matrimony-quick-link:hover {
    background-color: var(--matrimony-light-gray);
    color: var(--matrimony-primary);
}

.matrimony-quick-link i {
    color: var(--matrimony-primary);
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .matrimony-settings-sidebar {
        width: 250px;
    }
    
    .matrimony-dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .matrimony-chat-container {
        grid-template-columns: 300px 1fr;
    }
    
    .matrimony-matches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .matrimony-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .matrimony-header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .matrimony-header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .matrimony-profile-name {
        display: block !important;
    }
    
    .matrimony-hero-content h1 {
        font-size: 32px;
        line-height: 1.3;
    }
    
    .matrimony-hero-content p {
        font-size: 16px;
    }
    
    .matrimony-hero-stats {
        flex-direction: column;
        gap: 20px;
        margin-top: 30px;
    }
    
    .matrimony-main-content {
        flex-direction: column;
    }
    
    .matrimony-settings-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--matrimony-light-gray);
        padding: 15px 0;
    }
    
    .matrimony-sidebar-menu {
        display: flex;
        overflow-x: auto;
        padding: 0 15px;
        gap: 5px;
        -webkit-overflow-scrolling: touch;
    }
    
    .matrimony-menu-item {
        margin-bottom: 0;
        flex-shrink: 0;
        border: 1px solid #ededed;
        border-radius: 5px;
    }
    
    .matrimony-menu-link {
        border-left: none;
        border-bottom: 4px solid transparent;
        padding: 12px 15px;
        white-space: nowrap;
        gap: 5px;
    }
    
    .matrimony-menu-link:hover,
    .matrimony-menu-link.matrimony-active {
        border-left: none;
        border-bottom-color: var(--matrimony-primary);
    }
    
    .matrimony-settings-content {
        padding: 20px 15px;
    }
    
    .matrimony-settings-header h1 {
        font-size: 24px;
    }
    
    .matrimony-dashboard-stats {
        grid-template-columns: 2, 1fr;
        gap: 15px;
    }
    
    .matrimony-stat-card {
        padding: 20px;
    }
    
    .matrimony-chart-container {
        padding: 20px;
    }
    
    .matrimony-settings-section > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .matrimony-chat-container {
        grid-template-columns: 2, 1fr;
        height: 500px;
    }
    
    .matrimony-chat-list {
        border-right: none;
        border-bottom: 1px solid var(--matrimony-light-gray);
    }
    
    .matrimony-matches-grid {
        grid-template-columns: 2, 1fr;
        gap: 20px;
    }
    
    .matrimony-match-img {
        height: 250px;
    }
    
    .matrimony-range-inputs {
        flex-direction: column;
        gap: 10px;
    }
    
    .matrimony-range-inputs span {
        display: none;
    }
    
    .matrimony-range-inputs input,
    .matrimony-range-inputs select {
        width: 100%;
    }
    
    .matrimony-notification-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .matrimony-notification-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .matrimony-privacy-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .matrimony-privacy-item .matrimony-form-control {
        max-width: 100% !important;
        width: 100%;
    }
    
    .matrimony-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .matrimony-help-categories {
        grid-template-columns: 1fr;
    }
    
    .matrimony-quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .matrimony-support-options {
        grid-template-columns: 1fr;
    }
    
    .matrimony-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .matrimony-match-actions .matrimony-btn {
        padding: 8px 12px;
    }
    
    .matrimony-message-content {
        max-width: 85% !important;
    }
}

@media (max-width: 480px) {
    .matrimony-hero {
        padding: 60px 0;
    }
    
    .matrimony-hero-content h1 {
        font-size: 28px;
    }
    
    .matrimony-stat-number {
        font-size: 28px;
    }
    
    .matrimony-stat-card-value {
        font-size: 28px;
    }
    
    .matrimony-profile-name {
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .matrimony-sidebar-menu {
        gap: 1;
    }
    
    .matrimony-menu-link {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .matrimony-menu-link i {
        font-size: 16px;
    }
    
    .matrimony-chart-wrapper {
        height: 250px;
    }
    
    .matrimony-chat-container {
        height: 450px;
    }
    
    .matrimony-chat-item {
        padding: 12px;
    }
    
    .matrimony-chat-name {
        font-size: 14px;
    }
    
    .matrimony-chat-preview {
        font-size: 12px;
    }
    
    .matrimony-match-img {
        height: 220px;
    }
    
    .matrimony-match-details h3 {
        font-size: 18px;
    }
    
    .matrimony-settings-section {
        padding: 20px;
    }
    
    .matrimony-section-title {
        font-size: 18px;
    }
    
    .matrimony-notification-actions button {
        width: 100%;
    }
    
    .matrimony-quick-links {
        grid-template-columns: 1fr;
    }
    
    .matrimony-footer-column h3 {
        font-size: 16px;
    }
    
    .matrimony-footer-links li {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .matrimony-sidebar-menu::-webkit-scrollbar {
        display: none;
    }
    
    .matrimony-sidebar-menu {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

@media (max-width: 768px) {
    .matrimony-btn,
    .matrimony-menu-link,
    .matrimony-chat-item,
    .matrimony-match-card,
    .matrimony-notification-item,
    .matrimony-faq-question,
    .matrimony-help-category,
    .matrimony-quick-link,
    .matrimony-filter-btn,
    .matrimony-dropdown-item {
        min-height: 44px;
    }
    
    .matrimony-form-control,
    .matrimony-filter-select {
        min-height: 44px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    html {
        -webkit-text-size-adjust: 100%;
    }
    
    body {
        position: relative;
        min-height: 100vh;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .matrimony-hero {
        padding: 40px 0;
    }
    
    .matrimony-chat-container {
        height: 350px;
    }
    
    .matrimony-settings-sidebar {
        max-height: 80px;
    }
    
    .matrimony-sidebar-menu {
        flex-wrap: nowrap;
    }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}
main.matrimony-settings-content, .matrimony-settings-sidebar {
    border-radius: 10px;
    border: 2px solid #ededed;
    height: 100%;
}
.matrimony-main-content{
    display: flex;
    padding: 20px;
    gap: 10px;
}
.page .entry-title,
.page-title, header#site-header, div#header, div#footer, .wp-block-template-part, footer#site-footer { /* wp-block-template-part wp-block-template-part */
    display: none !important;
}

/* First chat message from user profile */
div#messageResponse{
    color: red;
}

/* Header countdown from profile ==================================================================================================================================================================== */
#countdown {
    display: inline-block;
    padding: 12px 20px;
    margin-top: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

#countdown span {
    margin: 0 6px;
    color: #2563eb;
}

#countdown.expired {
    color: #b91c1c;
    background: #fef2f2;
    border-color: #fecaca;
}
@media (max-width: 640px) {
    #countdown {
        font-size: 13px;
        padding: 10px 15px;
    }
}


/* WooCommerce Popup Checkout Form ============================================================================================================= */
.woocommerce form .form-row {
    width: 100% !important;
}
#content .wp-block-woocommerce-checkout{
    container-type: inline-size;
    margin: 0;
}
@media (max-width: 640px) {
    #content .wp-block-woocommerce-checkout{
        padding: 0 0px !important;
    }
}

