
/* =================================
   DUBAI YADAK - PART SEARCH
================================= */

.dyk-part-search {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.dyk-part-heading {
    margin: 0 0 12px;
    text-align: right;
}

.dyk-part-heading h3 {
    margin: 0 0 5px;
    color: #0d2b45;
    font-size: 16px;
    font-weight: 700;
}

.dyk-part-heading p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

/* Search form layout */
.dyk-part-search .dyk-part-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    direction: rtl;
}

/* Input */
.dyk-part-search .dyk-part-input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.dyk-part-search .dyk-part-input-wrap input {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 38px 0 12px;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    background: #f8fafc;
    color: #0d2b45;
    font-family: inherit;
    font-size: 12px;
    box-sizing: border-box;
    outline: none;
}

.dyk-part-search .dyk-part-input-wrap input:focus {
    border-color: #1769e0;
    background: #fff;
}

.dyk-part-search .dyk-search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #1769e0;
    font-size: 20px;
    pointer-events: none;
}

/* Search button */
.dyk-part-search .dyk-part-form button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    position: static !important;
    width: auto !important;
    min-width: 125px;
    max-width: 160px;
    height: 42px;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 0 !important;
    border-radius: 8px;
    background: #1769e0;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.dyk-part-search .dyk-part-form button:hover {
    background: #0d2b45;
}

.dyk-part-search .dyk-part-form button span {
    margin-right: 7px;
}

/* Note */
.dyk-part-search .dyk-part-note {
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    text-align: right;
}

/* Mobile */
@media (max-width: 600px) {
    .dyk-part-search {
        padding: 12px;
    }

    .dyk-part-search .dyk-part-form {
        grid-template-columns: 1fr;
    }

    .dyk-part-search .dyk-part-form button {
        width: 100% !important;
        max-width: none;
    }
}


/* DUBAI YADAK - VEHICLE SEARCH */

.dyk-vehicle-search {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.dyk-vehicle-heading {
    margin-bottom: 14px;
    text-align: right;
}

.dyk-vehicle-heading h3 {
    margin: 0 0 5px;
    color: #0d2b45;
    font-size: 16px;
    font-weight: 700;
}

.dyk-vehicle-heading p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.dyk-vehicle-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dyk-vehicle-search .dyk-field {
    min-width: 0;
}

.dyk-vehicle-search .dyk-field label {
    display: block;
    margin-bottom: 5px;
    color: #52657a;
    font-size: 12px;
    font-weight: 600;
}

.dyk-vehicle-search .dyk-field select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    background: #f8fafc;
    color: #0d2b45;
    font-family: inherit;
    font-size: 12px;
    box-sizing: border-box;
}

.dyk-vehicle-search .dyk-field select:focus {
    border-color: #1769e0;
    outline: none;
}

.dyk-vehicle-search .dyk-field select:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.dyk-vehicle-search .dyk-vehicle-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 43px;
    margin-top: 13px;
    padding: 0 15px;
    border: 0;
    border-radius: 8px;
    background: #1769e0;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.dyk-vehicle-search .dyk-vehicle-submit:hover {
    background: #0d2b45;
}

.dyk-vehicle-note {
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
}

@media (max-width: 600px) {
    .dyk-vehicle-search {
        padding: 12px;
    }

    .dyk-vehicle-fields {
        grid-template-columns: 1fr;
    }
}

/* Fix vehicle search button hover text color */

.dyk-vehicle-search .dyk-vehicle-submit:hover,
.dyk-vehicle-search .dyk-vehicle-submit:focus,
.dyk-vehicle-search .dyk-vehicle-submit:active {
    background-color: #0D2B45 !important;
    color: #FFFFFF !important;
}

.dyk-vehicle-search .dyk-vehicle-submit:hover span,
.dyk-vehicle-search .dyk-vehicle-submit:focus span {
    color: #FFFFFF !important;
}

/* =================================
   DUBAI YADAK - VIN SEARCH
================================= */

.dyk-vin-search {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 15px 18px;
    background: #ffffff;
    border: 1px solid #dce6f2;
    border-radius: 12px;
    box-sizing: border-box;
    font-family: inherit;
}

.dyk-vin-heading {
    margin-bottom: 12px;
    text-align: right;
}

.dyk-vin-heading h3 {
    margin: 0 0 5px;
    color: #0d2b45;
    font-size: 16px;
    font-weight: 700;
}

.dyk-vin-heading p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

/* Form layout */

.dyk-vin-search .dyk-vin-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 145px;
    gap: 12px;
    align-items: center;
    margin: 0;
    direction: rtl;
}

/* VIN input */

.dyk-vin-search .dyk-vin-input-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.dyk-vin-search .dyk-vin-input-wrap input {
    display: block;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border: 1px solid #dce6f2;
    border-radius: 8px;
    background: #f8fafc;
    color: #0d2b45;
    font-family: Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 1px;
    text-align: left;
    direction: ltr;
    box-sizing: border-box;
    outline: none;
}

.dyk-vin-search .dyk-vin-input-wrap input:focus {
    border-color: #1769e0;
    background: #ffffff;
}

/* Search icon hidden to avoid overlap */

.dyk-vin-search .dyk-vin-icon {
    display: none;
}

/* Submit button */

.dyk-vin-search .dyk-vin-form .dyk-vin-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 145px;
    min-width: 145px;
    height: 42px;
    margin: 0;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: #1769e0;
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
}

.dyk-vin-search .dyk-vin-form .dyk-vin-submit:hover,
.dyk-vin-search .dyk-vin-form .dyk-vin-submit:focus {
    background: #0d2b45;
    color: #ffffff;
}

.dyk-vin-search .dyk-vin-form .dyk-vin-submit span {
    color: inherit;
}

/* Description */

.dyk-vin-note {
    margin-top: 9px;
    color: #64748b;
    font-size: 10px;
    text-align: right;
}

/* Mobile */

@media (max-width: 600px) {
    .dyk-vin-search {
        padding: 12px;
    }

    .dyk-vin-search .dyk-vin-form {
        grid-template-columns: 1fr;
    }

    .dyk-vin-search .dyk-vin-form .dyk-vin-submit {
        width: 100%;
    }
}



/* =====================================
   DUBAI YADAK - WHATSAPP BAR
===================================== */

.dyk-whatsapp-bar {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;

    width: 100%;
    max-width: 680px;
    margin: 0 auto 0;
    padding: 12px 16px;

    background: #f5fbf7;
    border: 1px solid #dcefe2;
    border-radius: 10px;

    direction: rtl;
    box-sizing: border-box;
    font-family: inherit;
}

/* WhatsApp icon */

.dyk-whatsapp-bar .dyk-whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    border-radius: 9px;

    background: #e2f6e9;
    color: #16a34a;
    font-size: 25px;
}

/* Text section */

.dyk-whatsapp-bar .dyk-whatsapp-text {
    min-width: 0;
    text-align: right;
}

.dyk-whatsapp-bar .dyk-whatsapp-text h3 {
    margin: 0 0 5px;
    color: #0d2b45;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.6;
}

.dyk-whatsapp-bar .dyk-whatsapp-text p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.6;
}

/* WhatsApp button */

.dyk-whatsapp-bar a.dyk-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: auto;
    min-width: 210px;
    max-width: 260px;
    min-height: 40px;

    margin: 0;
    padding: 0 16px;

    background: #16a34a;
    border: 0;
    border-radius: 8px;

    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;

    box-sizing: border-box;
    transition: background .2s ease;
}

.dyk-whatsapp-bar a.dyk-whatsapp-button:hover {
    background: #12813c;
    color: #ffffff;
    text-decoration: none;
}

/* Tablet and mobile */

@media (max-width: 600px) {

    .dyk-whatsapp-bar {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: 10px;
        padding: 12px;
    }

    .dyk-whatsapp-bar .dyk-whatsapp-icon {
        width: 38px;
        height: 38px;
    }

    .dyk-whatsapp-bar a.dyk-whatsapp-button {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        min-width: 0;
    }

}
