/* MARS Search Plugin Styles - Center Names Removed */
#mars-search-wrapper {
    max-width: 450px !important;
    width: 100% !important;
    margin: 0 !important;
    float: left !important;
    position: relative !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;
    display: block !important;
}

.mars-search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
    margin: 20px 0;
    width: 100% !important;
    max-width: 100% !important;
}

#zip-code-input {
    width: 100% !important;
    max-width: 100% !important;
    height: 55px;
    padding: 12px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(245, 245, 245, 0.8) !important;
    backdrop-filter: blur(15px);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

#zip-code-input:focus {
    outline: none;
    border-color: rgba(37, 99, 235, 0.6);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 5px 3px rgba(38, 167, 235, 0.45);
}

#zip-code-input::placeholder {
    color: rgba(246, 246, 246, 0.7);
}

#zip-check-button {
    width: 100% !important;
    max-width: 100% !important;
    height: 55px;
    padding: 12px 25px;
    background: #5FA8D3;
    border: none !important;
    outline: none !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#zip-check-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.5);
}

#zip-check-button:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.5);
}

#zip-check-button:active {
    transform: translateY(0);
}

#zip-check-button:disabled {
    background: #9ca3af;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* Messages */
#zip-message {
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-weight: 500;
    max-width: 100% !important;
    width: 100% !important;
    text-align: left;
}

#zip-message.error {
    background: rgba(254, 242, 242, 0.9);
    color: #dc2626;
    border: 1px solid rgba(254, 202, 202, 0.5);
    backdrop-filter: blur(10px);
}

/* Success Results Container */
.mars-success {
    background: rgba(240, 253, 244, 0.9);
    border: 1px solid rgba(187, 247, 208, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    max-width: 100% !important;
    width: 100% !important;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

/* DEDICATED SUCCESS TEXT STYLING - Completely separate from headings */
.availability-confirmation {
    /* Color & Typography */
    color: #00af24 !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    
    /* Spacing */
    margin: 0;
    padding: 0;
    
    /* Reset any heading inheritance */
    font-family: inherit;
    text-transform: none;
    letter-spacing: normal;
    text-decoration: none;
    text-shadow: none;
    
    /* Display */
    display: block;
    text-align: left;
    
    /* Prevent any theme overrides */
    all: initial;
    font: initial;
    color: #00af24 !important;
}

/* Force reset any potential theme overrides */
#mars-search-wrapper .availability-confirmation,
#zip-message .availability-confirmation,
.mars-success .availability-confirmation {
    all: unset;
    color: #00af24 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    font-family: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    text-align: left !important;
}

/* Center results always hidden */
#center-results {
    display: none !important;
}

/* Action Buttons */
#action-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
    max-width: 100% !important;
    width: 100% !important;
}

.mars-button {
    width: 100% !important;
    max-width: 100% !important;
    height: 55px;
    padding: 12px 25px;
    border: none !important;
    outline: none !important;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-sizing: border-box;
    text-align: center;
}

.mars-button:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.3);
}

.mars-button.secondary:focus {
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.3);
}

.mars-button.primary {
    background: #059669;
    color: white;
}

.mars-button.primary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.mars-button.secondary {
    background: #6b7280;
    color: white;
}

.mars-button.secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

/* RESPONSIVE DESIGN - All Devices */
/* Desktop (default) - above 1200px */
.availability-confirmation {
    font-size: 18px;
    line-height: 1.4;
}

/* Laptop - 992px to 1199px */
@media (max-width: 1199px) {
    .availability-confirmation {
        font-size: 17px;
        line-height: 1.35;
    }
}

/* Tablet Landscape - 768px to 991px */
@media (max-width: 991px) {
    .availability-confirmation {
        font-size: 16px;
        line-height: 1.3;
    }
    
    #mars-search-wrapper {
        max-width: 400px !important;
    }
}

/* Tablet Portrait - 576px to 767px */
@media (max-width: 767px) {
    .availability-confirmation {
        font-size: 16px;
        line-height: 1.3;
        text-align: center;
    }
    
    #mars-search-wrapper {
        max-width: 100% !important;
        float: none !important;
        margin: 0 auto !important;
    }
    
    .mars-success {
        padding: 15px;
    }
}

/* Mobile - below 575px */
@media (max-width: 575px) {
    .availability-confirmation {
        font-size: 15px;
        line-height: 1.25;
        text-align: center;
    }
    
    #zip-code-input,
    #zip-check-button {
        height: 50px;
        font-size: 15px;
    }
    
    .mars-button {
        height: 50px;
        font-size: 15px;
    }
    
    .mars-success {
        padding: 12px;
        margin: 15px 0;
    }
}

/* Extra Small Mobile - below 400px */
@media (max-width: 400px) {
    .availability-confirmation {
        font-size: 14px;
        line-height: 1.2;
    }
}