/* =========================================
   DM ENQUIRY POPUP - UNIQUE CSS
========================================= */

.dmrq-modal *,
.dmrq-modal *::before,
.dmrq-modal *::after {
    box-sizing: border-box;
}

/* MODAL SIZE */

.dmrq-modal .modal-dialog {
    max-width: 760px;
    width: calc(100% - 30px);
    margin: 20px auto;
}

.dmrq-modal .dmrq-modal-content {
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

/* LEFT PANEL */

.dmrq-modal .dmrq-left-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 24px;
    color: #fff;
    background: linear-gradient(145deg, #292b69, #4e45e3);
}

.dmrq-modal .dmrq-tag {
    color: #c4c0ff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.dmrq-modal .dmrq-left-panel h2 {
    margin: 12px 0;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.dmrq-modal .dmrq-left-panel p {
    margin: 0;
    color: #e1e0ff;
    font-size: 12px;
    line-height: 1.7;
}

.dmrq-modal .dmrq-contact-info {
    margin-top: 22px;
}

.dmrq-modal .dmrq-contact-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.dmrq-modal .dmrq-contact-info i {
    flex-shrink: 0;
    color: #c4c0ff;
}

/* RIGHT PANEL */

.dmrq-modal .dmrq-right-panel {
    min-width: 0;
    padding: 28px 28px 24px;
    background: #fff;
}

.dmrq-modal .dmrq-heading h3 {
    margin: 0 0 5px;
    color: #29265f;
    font-size: 21px;
    font-weight: 700;
}

.dmrq-modal .dmrq-heading p {
    margin: 0 0 17px;
    color: #777;
    font-size: 12px;
    line-height: 1.5;
}

/* FORM */

.dmrq-modal .dmrq-form {
    width: 100%;
    border: 1px solid #E5E4F2;
    border-radius: 16px;
}

.dmrq-modal .dmrq-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.dmrq-modal .dmrq-field {
    width: 100%;
    min-width: 0;
    margin-bottom: 12px;
}

.dmrq-modal .dmrq-field input,
.dmrq-modal .dmrq-field select,
.dmrq-modal .dmrq-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid #dedee8;
    border-radius: 6px;
    outline: none;
    background: #fff;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    box-shadow: none;
}

.dmrq-modal .dmrq-field input,
.dmrq-modal .dmrq-field select {
    height: 40px;
}

.dmrq-modal .dmrq-field textarea {
    height: 75px;
    resize: vertical;
}

.dmrq-modal .dmrq-field input:focus,
.dmrq-modal .dmrq-field select:focus,
.dmrq-modal .dmrq-field textarea:focus {
    border-color: #4e45e3;
    box-shadow: 0 0 0 3px rgba(78, 69, 227, 0.08);
}

.dmrq-modal .dmrq-field input::placeholder,
.dmrq-modal .dmrq-field textarea::placeholder {
    color: #999;
}

/* PHONE INPUT */

.dmrq-modal .dmrq-field .iti {
    display: block;
    width: 100%;
}

.dmrq-modal .dmrq-field .iti input {
    width: 100%;
    padding-left: 90px !important;
}

/* PRIVACY */

.dmrq-modal .dmrq-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 2px 0 14px;
    color: #666;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}

.dmrq-modal .dmrq-privacy input[type="checkbox"] {
    flex: 0 0 15px;
    width: 15px;
    height: 15px;
    margin: 1px 0 0;
    accent-color: #4e45e3;
}

.dmrq-modal .dmrq-privacy span {
    flex: 1;
    min-width: 0;
}

.dmrq-modal .dmrq-privacy a {
    color: #4e45e3;
    text-decoration: underline;
}

/* SUBMIT BUTTON */

.dmrq-modal .dmrq-submit {
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 15px;
    border: 0;
    border-radius: 6px;
    background: #4e45e3;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dmrq-modal .dmrq-submit:hover {
    background: #292b69;
}

.dmrq-modal .dmrq-submit i {
    margin-left: 6px;
}

/* CLOSE BUTTON */

.dmrq-modal .dmrq-close {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

/* TABLET */

@media (max-width: 991px) {
    .dmrq-modal .modal-dialog {
        max-width: 480px;
    }

    .dmrq-modal .dmrq-left-panel {
        display: none;
    }

    .dmrq-modal .dmrq-right-panel {
        padding: 30px 25px 25px;
    }
}

/* MOBILE */

@media (max-width: 480px) {
    .dmrq-modal .modal-dialog {
        width: calc(100% - 20px);
        margin: 10px auto;
    }

    .dmrq-modal .dmrq-right-panel {
        padding: 28px 17px 20px;
    }

    .dmrq-modal .dmrq-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dmrq-modal .dmrq-field {
        margin-bottom: 12px;
    }

    .dmrq-modal .dmrq-heading h3 {
        font-size: 19px;
    }
}