/* StitchIt Store Search Styles */



.stitchit-store-search-form {
    margin-bottom: 15px;
}

.stitchit-search-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.stitchit-address-input {
    flex: 1;
    padding: 14px 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    border-radius: 16px !important;
    border: 1px solid #E2E8F0 !important;
    font-size: 14px !important;
}

.stitchit-address-input:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.stitchit-search-button {
    padding: 14px 24px;
    background: #0D4D97 !important;
    color: white;
    border: none;
    border-radius: 50px !important;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
    font-family: inherit;
}

.stitchit-search-button:hover {
    background-color: #FECE09 !important;
}

.stitchit-search-button:disabled {
    background: #a0a0a0;
    cursor: not-allowed;
}

.stitchit-suggestions {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #0073aa;
    display: none;
}

.selected-address-info {
    font-size: 14px;
    line-height: 1.5;
}

.selected-address-info strong {
    color: #333;
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.selected-address-info small {
    color: #666;
    display: inline-block;
    margin-right: 15px;
    font-size: 12px;
}

/* Google Autocomplete styles */
.pac-container {
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    z-index: 10000 !important;
}

.pac-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    line-height: 1.4;
}

.pac-item:hover {
    background-color: #f5f5f5;
}

.pac-item-selected,
.pac-item-selected:hover {
    background-color: #0073aa;
    color: white;
}

.pac-icon {
    margin-right: 10px;
    margin-top: 2px;
}

.pac-item-query {
    font-size: 14px;
    color: #333;
}

.pac-item-selected .pac-item-query {
    color: white;
}

/* Error message */
.stitchit-error-message {
    display: none;
}

/* Fallback message */
.no-google-api-message {
    background: #fff8e5;
    border: 1px solid #ffd700;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 13px;
    color: #856404;
}

/* No store found message */
.no-store-found {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: center;
}

.no-store-found h3 {
    color: #333;
    margin-top: 0;
}

.no-store-found p {
    color: #666;
}

/* Admin styles */
.button-danger {
    background: #dc3232;
    border-color: #dc3232;
    color: white;
}

.button-danger:hover {
    background: #b22222;
    border-color: #b22222;
}

/* Responsive */
@media (max-width: 768px) {
    
    .stitchit-search-input-group {
        flex-direction: column;
    }
    
    .stitchit-search-button {
        width: 100%;
    }
    
    .stitchit-search-title {
        font-size: 20px;
    }
}