/* Widget ana kutu */
#dw-mesafe-widget {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 850px;
    margin: 40px auto;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    text-align: center;
    font-family: "Segoe UI", Tahoma, sans-serif;
}

/* Başlık */
#dw-mesafe-widget h3 {
    margin-bottom: 30px;
    color: #00475f;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Form alanları */
#dw-mesafe-widget .dw-inputs {
    margin: 20px 0;
    text-align: left;
}

#dw-mesafe-widget label {
    display: block;
    margin: 10px 0 6px;
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

#dw-mesafe-widget input {
    width: 100%;
    padding: 14px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#dw-mesafe-widget input:focus {
    border-color: #00bcd4;
    box-shadow: 0 0 6px rgba(0, 188, 212, 0.4);
    outline: none;
}

/* Buton */
#dw-mesafe-widget button {
    background: #00bcd4;
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s ease;
}

#dw-mesafe-widget button:hover {
    background: #0097a7;
}

/* Sonuç kartı genel */
.dw-result-card {
    background: #f4f9fb;
    border: 1px solid #cde3eb;
    padding: 30px;
    border-radius: 14px;
    margin-top: 30px;
    font-size: 17px;
    color: #00475f;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Kuş uçuşu ve araç mesafesi özet kutuları */
.dw-result-card .dw-summary {
    background: #fff;
    border: 1px solid #e3eef2;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Araç bazlı satırlar */
.dw-result-card .dw-vehicle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e3eef2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dw-result-card .dw-vehicle:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Soldaki ikon + araç adı */
.dw-result-card .dw-vehicle-left {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #00475f;
}

.dw-result-card .dw-vehicle-left span {
    font-size: 18px;
}

/* Sağdaki bilgi alanı */
.dw-result-card .dw-vehicle-right {
    text-align: right;
    font-size: 15px;
    color: #333;
    line-height: 1.4;
}
.dw-result-card .dw-vehicle-right span {
    display: block;
}

/* Autocomplete dropdown */
.ui-autocomplete {
    position: absolute;
    z-index: 9999 !important;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ui-menu-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.ui-menu-item:hover {
    background: #f0f8ff;
    color: #00475f;
}
