.zipcode-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.zipcode-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
    justify-content: center;
    align-items: center;
}

.zipcode-popup-container {
    width: 100% !important;
    max-width: 400px;
    padding: 20px;
}

.zipcode-popup-content {
    background: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease-out;
}

.zipcode-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}

.zipcode-popup-close:hover {
    color: #000;
}

.zipcode-popup-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 24px;
}

.zipcode-popup-content p {
    margin-bottom: 20px;
    color: #666;
    line-height: 1.5;
}

#zipcode-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#zipcode-input {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    letter-spacing: 2px;
    transition: border-color 0.3s ease;
}

#zipcode-input:focus {
    outline: none;
    border-color: #007cba;
}

#zipcode-submit {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#zipcode-submit:hover {
    background-color: #005a87;
}

#zipcode-submit:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.error-message {
    color: #d63638;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.loading-message {
    color: #007cba;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.zipcode-trigger-btn {
    background-color: #007cba;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.zipcode-trigger-btn:hover {
    background-color: #005a87;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 480px) {
    .zipcode-popup-content {
        margin: 20px;
        padding: 20px;
    }
}