/* Product Page Styles */
.veetelecom-product-pincode-checker {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.veetelecom-product-pincode-input:focus {
    outline: none;
    border-color: #a40000;
    box-shadow: 0 0 0 2px rgba(164, 0, 0, 0.1);
}

.veetelecom-product-check-btn:hover {
    background: #b30000 !important;
}

.veetelecom-product-check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.veetelecom-product-result.success,
.veetelecom-product-result.error,
.veetelecom-product-result.info {
    margin: 10px 0 8px 0 !important;
    padding: 10px 12px !important;
    line-height: normal !important;
    border-radius: 6px;
}

.veetelecom-product-result.success {
    color: #0a8a0a;
    background: #e7f7ec;
    border-left: 3px solid #0a8a0a;
}

.veetelecom-product-result.error {
    color: #a40000;
    background: #ffecec;
    border-left: 3px solid #a40000;
}

.veetelecom-product-result.info {
    color: #0D47A1;
    background: #E3F0FF;
    border-left: 3px solid #0D47A1;
}

/* Add space after message */
.veetelecom-product-result.success + #veetelecom-product-available-container,
.veetelecom-product-result.error + #veetelecom-product-available-container,
.veetelecom-product-result.info + #veetelecom-product-available-container {
    margin-top: 10px !important;
}

.veetelecom-product-pin-item:hover {
    background: #f0f7ff !important;
}

.veetelecom-product-pin-item:last-child {
    border-bottom: none !important;
}

.veetelecom-product-toggle-list:hover {
    text-decoration: underline !important;
}

.veetelecom-product-available-list {
    position: relative;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Consistent button colors across all pages */
.veetelecom-product-check-btn,
.veetelecom-toggle {
    background: #a40000 !important;
    color: #ffffff !important;
    border: none !important;
    transition: background 0.2s ease !important;
}

.veetelecom-product-check-btn:hover,
.veetelecom-toggle:hover {
    background: #b30000 !important;
}

/* Ensure product page check button matches */
.veetelecom-product-check-btn {
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .veetelecom-available-pincodes {
        position: relative;
        max-height: 260px;
    }

    .veetelecom-pin-scroll {
        max-height: 260px;
        padding-bottom: 60px;
    }

    .veetelecom-pin {
        padding: 12px 14px;
        margin: 6px 10px;
        font-size: 16px;
    }

    .veetelecom-toggle {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 52px;
        border-radius: 0 0 14px 14px;
    }

    .veetelecom-product-pincode-checker {
        margin: 15px 0;
        width: 100%;
    }
    
    .veetelecom-box {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .veetelecom-box .veetelecom-available-pincodes {
        max-width: 280px !important;
        width: 280px !important;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        border-radius: 14px;
        border: 1px solid #e0e0e0;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    .veetelecom-pin {
        padding: 10px 14px;
        margin: 6px 10px;
        font-size: 14px !important;
        background: #E3F0FF;
        color: #0D47A1;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .veetelecom-pin:hover {
        background: #d1e4ff;
    }

    .veetelecom-pin small {
        font-size: 12px !important;
        color: #2a5c9a;
        display: inline;
        margin-left: 5px;
    }

    .veetelecom-toggle {
        border-radius: 0 0 14px 14px;
        font-size: 14px !important;
        padding: 12px;
        position: sticky;
        bottom: 0;
        width: 100%;
        z-index: 10;
        background: #a40000;
        box-sizing: border-box;
    }

    .veetelecom-toggle:hover {
        background: #b30000;
    }

    .veetelecom-pin-scroll {
        max-height: 200px !important;
        overflow-y: auto !important;
        padding-bottom: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .veetelecom-pin {
        display: block !important;
    }
    
    .veetelecom-pin.veetelecom-hidden {
        display: none !important;
    }
}

/* Force the pink box to be narrow - Desktop only */
@media (min-width: 769px) {
    .veetelecom-box {
        width: 280px !important;
        max-width: 280px !important;
        min-width: 280px !important;
        margin-left: 0 !important;
        margin-right: auto !important;
        padding: 12px !important;
        box-sizing: border-box !important;
    }
}

.veetelecom-box .veetelecom-available-pincodes {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.veetelecom-box .veetelecom-pin {
    width: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.veetelecom-box .veetelecom-toggle {
    width: 100% !important;
    box-sizing: border-box !important;
}

.veetelecom-box,
.veetelecom-available-pincodes,
.veetelecom-pin,
.veetelecom-toggle,
.veetelecom-pin-scroll {
    box-sizing: border-box;
}

/* Fullscreen Loader */
#vt-loader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.35);
    z-index: 999999;
    display: none;
    backdrop-filter: blur(2px);
}

.vt-circle {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 86px;
    height: 86px;
}

.vt-circle::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid #e5e5e5;
    border-top-color: #0D47A1;
    animation: vt-spin 1s linear infinite;
}

.vt-circle img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: auto;
    z-index: 2;
}

@keyframes vt-spin {
    to { transform: rotate(360deg); }
}