/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.1.1.1736927579
Updated: 2025-01-15 07:52:59

*/

.woocommerce-form.woocommerce-form-login.login {
    height: auto !important;
}

/* VIP Membership Card Styles */
.vip-membership-card {
    margin: 20px auto;
    padding: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, #75009C 0%, #005E00 100%);
    box-shadow: 0 8px 25px rgba(117, 0, 156, 0.3);
    overflow: hidden;
    max-width: 400px;
    position: relative;
}

.vip-card-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    text-align: center;
    position: relative;
}

.vip-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.vip-card-header img {
    height: 140px;
    margin-bottom: 8px;
}

.vip-card-title {
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.vip-qr-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    backdrop-filter: blur(10px);
}

.vip-qr-code {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    background: white;
    padding: 10px;
}

/* Membership status strip on VIP card */
.vip-ms-strip {
    border-radius: 10px;
    padding: 12px 15px;
    margin: 12px 0;
    text-align: center;
}
.vip-ms-strip span {
    display: block;
}
.vip-ms-label {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.vip-ms-expiry,
.vip-ms-remaining {
    font-size: 12px;
    opacity: 0.9;
}

.vip-ms-active {
    background: rgba(40, 167, 69, 0.25);
    border: 1px solid rgba(40, 167, 69, 0.5);
    color: #d4edda;
}
.vip-ms-expired {
    background: rgba(220, 53, 69, 0.25);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #f8d7da;
}
.vip-ms-none {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.7);
}

.vip-exclusive-text { 
    color: #FFD700;
    font-weight: bold;
    font-size: 16px;
    margin: 10px 0;
}

.vip-benefits {
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    line-height: 1.4;
}

.vip-member-id {
    color: rgba(255, 255, 255, 0.7);
    font-family: monospace;
    font-size: 10px;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .vip-membership-card {
        margin: 20px 10px;
        max-width: none;
    }
    
    .vip-card-content {
        padding: 20px;
    }
    
    .vip-qr-code {
        width: 200px;
        height: 200px;
    }
}

/* QR Code Scanner Page Styles */
.scan-page-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.scan-page-content {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.scan-header {
    margin-bottom: 30px;
}

.scan-logo {
    height: 60px;
    margin-bottom: 15px;
}

.scan-header h1 {
    color: #75009C;
    font-size: 28px;
    font-weight: bold;
    margin: 10px 0;
}

.scan-header p {
    color: #666;
    font-size: 14px;
}

/* Scan Form Styles */
.scan-form h2 {
    color: #75009C;
    margin-bottom: 10px;
}

.scan-form p {
    color: #666;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.code-input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: monospace;
    text-align: center;
}

.code-input:focus {
    outline: none;
    border-color: #75009C;
    box-shadow: 0 0 0 3px rgba(117, 0, 156, 0.1);
}

.scan-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #75009C, #005E00);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.scan-btn:hover {
    transform: translateY(-2px);
}

/* Success Result Styles */
.scan-result.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
}

.scan-result.error {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
}

.verification-badge, .error-badge {
    margin-bottom: 20px;
}

.checkmark, .error-mark {
    display: inline-block;
    font-size: 48px;
    margin-bottom: 10px;
}

.verification-badge h2, .error-badge h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

/* User Info Display */
.user-info {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    font-weight: bold;
    min-width: 120px;
}

/* Scan Again Button */
.scan-again-btn {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.scan-again-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Instructions */
.scan-instructions {
    background: rgba(117, 0, 156, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 25px;
}

.scan-instructions h3 {
    color: #75009C;
    margin-bottom: 15px;
}

.scan-instructions ul {
    text-align: left;
    color: #666;
    line-height: 1.6;
}

.scan-instructions li {
    margin-bottom: 8px;
}

/* Error Message */
.error-message {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

/* QR Scanner Interface Styles */
.scanner-interface {
    width: 100%;
    text-align: center;
}

#scanner-status {
    padding: 20px;
}

.scanner-btn {
    padding: 15px 25px;
    background: linear-gradient(135deg, #75009C, #005E00);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
    font-size: 16px;
}

.scanner-btn:hover {
    transform: translateY(-2px);
}

.scanner-btn.stop-btn:hover {
    transform: translateX(-50%) translateY(-2px);
}

.scanner-btn.stop-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    z-index: 502;
    pointer-events: auto;
}

/* Fullscreen scanner overrides */
body:has(#scanner-container.fullscreen-scanner[style*="display: block"]) {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

html:has(#scanner-container.fullscreen-scanner[style*="display: block"]) {
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

#scanner-container.fullscreen-scanner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 500;
    background: #000;
    overflow: hidden;
}

#scanner-video {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover;
    background: #000;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-sizing: border-box;
}

.scanner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 501;
    overflow: hidden;
}

.scanner-frame {
    width: 200px;
    height: 200px;
    border: 3px solid #FFD700;
    border-radius: 15px;
    background: rgba(255, 215, 0, 0.1);
    position: relative;
    animation: pulse 2s infinite;
}

.scanner-frame::before,
.scanner-frame::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border: 4px solid #FFD700;
}

.scanner-frame::before {
    top: -4px;
    left: -4px;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 15px;
}

.scanner-frame::after {
    bottom: -4px;
    right: -4px;
    border-left: none;
    border-top: none;
    border-bottom-right-radius: 15px;
}

.scanner-instructions {
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: bold;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

/* Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin: 0;
    overflow-y: auto;
}

.popup-success {
    color: #28a745;
}

.popup-error {
    color: #dc3545;
}

.success-icon, .error-icon {
    font-size: 64px;
    margin-bottom: 15px;
    display: block;
}

.popup-success h2, .popup-error h2 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 20px 0;
}

.popup-user-info {
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    text-align: left;
    color: #333;
}

.popup-user-info .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.popup-user-info .info-row:last-child {
    border-bottom: none;
}

.popup-close-btn {
    background: linear-gradient(135deg, #75009C, #005E00);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: transform 0.2s;
}

.popup-close-btn:hover {
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scan-page-content {
        padding: 25px;
        margin: 10px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .scan-btn {
        width: 100%;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .scanner-frame {
        width: 250px;
        height: 250px;
        max-width: 80vw;
        max-height: 80vw;
    }
    
    #scanner-container.fullscreen-scanner {
        width: 100vw;
        height: 100vh;
        max-width: 100%;
        max-height: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    #scanner-video {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .scanner-overlay {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .scanner-btn.stop-btn {
        bottom: 20px;
        font-size: 14px;
        padding: 12px 20px;
        margin: 0;
    }
    
    .scanner-instructions {
        font-size: 12px;
        padding: 6px 12px;
        margin: 10px 0 0 0;
    }
    
    .popup-content {
        padding: 20px;
        margin: 10px;
        max-width: 90vw;
        max-height: 80vh;
        width: calc(100vw - 20px);
    }
    
    .success-icon, .error-icon {
        font-size: 48px;
    }
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row label {
    color: #000 !important;
;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row .input-text, .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row select {
    border: 1px solid #000 !important;
}

.woocommerce-privacy-policy-text p {
    color: #000 !important;
}

body.logged-in .menu-item-logged-out {
    display: none !important;
}
body:not(.logged-in) .menu-item-logged-in {
    display: none !important;
}

/* Membership Banner (scan result) */
.membership-banner {
    border-radius: 12px;
    padding: 14px 18px;
    margin: 15px 0;
    text-align: center;
}
.membership-banner span {
    display: block;
}
.membership-banner .membership-badge-label {
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.membership-banner .membership-expiry,
.membership-banner .membership-remaining {
    font-size: 13px;
    opacity: 0.9;
}
.membership-banner .membership-warning {
    font-size: 12px;
    font-weight: 600;
    margin-top: 6px;
}

.membership-active {
    background: rgba(40,167,69,0.2);
    border: 2px solid rgba(40,167,69,0.5);
    color: #fff;
}
.membership-active .membership-badge-label { color: #d4edda; }

.membership-expired {
    background: rgba(220,53,69,0.3);
    border: 2px solid rgba(220,53,69,0.6);
    color: #fff;
}
.membership-expired .membership-warning { color: #ffeeba; }

.membership-none {
    background: rgba(108,117,125,0.3);
    border: 2px solid rgba(108,117,125,0.5);
    color: #fff;
}
.membership-none .membership-warning { color: #ffeeba; }

/* Popup membership banner overrides */
.popup-success .membership-banner {
    color: #333;
}
.popup-success .membership-active {
    background: rgba(40,167,69,0.12);
    border-color: #28a745;
}
.popup-success .membership-active .membership-badge-label { color: #28a745; }

.popup-success .membership-expired {
    background: rgba(220,53,69,0.12);
    border-color: #dc3545;
}
.popup-success .membership-expired .membership-badge-label { color: #dc3545; }
.popup-success .membership-expired .membership-warning { color: #dc3545; }

.popup-success .membership-none {
    background: rgba(108,117,125,0.12);
    border-color: #6c757d;
}
.popup-success .membership-none .membership-badge-label { color: #6c757d; }
.popup-success .membership-none .membership-warning { color: #856404; }

/* Scan result action buttons */
.scan-result-actions,
.popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
    flex-wrap: wrap;
}
.scan-action-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}
.edit-membership-btn {
    background: rgba(255,255,255,0.3);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.5);
}
.edit-membership-btn:hover {
    background: rgba(255,255,255,0.5);
}
.view-history-btn {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.view-history-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Popup action button overrides */
.popup-actions .scan-action-btn {
    color: #75009C;
    border-color: #75009C;
    background: rgba(117,0,156,0.08);
}
.popup-actions .scan-action-btn:hover {
    background: #75009C;
    color: #fff;
}