/* Custom styles for the Indian Address Lookup plugin */

/* Basic container styling */
.indian-address-lookup-container {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px; /* Increased max-width for better form layout */
    text-align: center;
    margin: 20px auto; /* Center the container on the page */
    box-sizing: border-box;
}

/* Input field styling (Tailwind classes are also used in PHP for consistency) */
.indian-address-lookup-container input[type="text"] {
    /* Tailwind classes handle most of this, but adding for clarity/override potential */
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e0;
    font-size: 16px;
    box-sizing: border-box;
}

/* Button styling (Tailwind classes are also used in PHP for consistency) */
.indian-address-lookup-container button {
    /* Tailwind classes handle most of this, but adding for clarity/override potential */
    background-image: linear-gradient(to right, #6366f1, #8b5cf6);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}
.indian-address-lookup-container button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(99, 102, 241, 0.4);
}

/* Result and error box styling */
.indian-address-lookup-container .results-section {
    margin-top: 30px;
}

.indian-address-lookup-container .error-message {
    background-color: #fee2e2; /* Red-100 */
    border: 1px solid #f87171; /* Red-400 */
    color: #b91c1c; /* Red-700 */
    padding: 15px;
    border-radius: 8px;
    text-align: left;
}

.indian-address-lookup-container .address-list {
    margin-top: 20px;
}

.indian-address-lookup-container .result-item {
    background-color: #f9fafb; /* Gray-50 */
    border: 1px solid #e5e7eb; /* Gray-200 */
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    word-wrap: break-word;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.indian-address-lookup-container .result-item p {
    margin-bottom: 5px;
    line-height: 1.5;
}

.indian-address-lookup-container .result-item p:last-child {
    margin-bottom: 0;
}
