/* public_html/server-finder/server-finder.css */

.smart-search-box {
    background: #02073e; 
    padding: 30px; 
    border-radius: 15px; 
    margin-top: 30px; 
    margin-bottom: 20px; 
    color: white;
}

.smart-search-box h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
}

.smart-search-box p {
    color: #cbd5e1;
    margin-bottom: 0;
}

.smart-search-box textarea {
    width: 100%;
    height: 100px;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    font-size: 16px;
    margin-top: 15px;
    margin-bottom: 15px;
    resize: vertical;
    color: #000;
    font-family: inherit;
}

.smart-search-box textarea:focus {
    outline: none;
    border-color: #FF5533;
    box-shadow: 0 0 0 3px rgba(255, 85, 51, 0.2);
}

.idtm-wrapper2 {
    font-family: 'Inter', sans-serif;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    color: #333;
}

/* --- NEW VERIFICATION UI STYLES --- */
.verify-ui-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.verify-ui-box h3 {
    margin-top: 0;
    color: #0f172a;
    font-size: 20px;
    margin-bottom: 5px;
}

.verify-ui-box p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.verify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.v-group {
    display: flex;
    flex-direction: column;
}

.v-group label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.v-group input[type="number"],
.v-group input[type="text"],
.v-group select {
    padding: 10px 15px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.v-group input:focus,
.v-group select:focus {
    border-color: #FF5533;
}

/* Custom Checkbox */
.checkbox-wrapper {
    justify-content: center;
    height: 40px;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600 !important;
    color: #0f172a !important;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #e2e8f0;
    border-radius: 4px;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #8b5cf6;
}

.checkmark:after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: white;
    font-size: 12px;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* --- CUSTOM AUTOCOMPLETE UI --- */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 1000;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: none;
}

.autocomplete-list::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-list::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.autocomplete-list div {
    padding: 10px 15px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s;
}

.autocomplete-list div:last-child {
    border-bottom: none;
}

.autocomplete-list div:hover {
    background-color: #f8fafc;
    color: #FF5533;
    font-weight: 600;
}

@media screen and (max-width: 550px) {
    .verify-grid .autocomplete-wrapper {
        grid-column: span 2;
    }
}