/* Cart delivery acknowledgement: same visual language as the login dialog. */
#confirm-modal .modal-dialog {
    width: 500px;
    max-width: calc(100vw - 32px);
    margin: 48px auto;
}
#confirm-modal .modal-content {
    overflow: hidden;
    border: 1px solid #dbe3e8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(6, 35, 54, .24);
}
#confirm-modal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: #e8ecef;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    pointer-events: none;
    z-index: 2;
}
#confirm-modal .modal-content::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 50px;
    height: 50px;
    background: url('/images/brand-gear-clean.png') center / contain no-repeat;
    pointer-events: none;
    z-index: 3;
}
#confirm-modal .modal-header .close {
    top: 18px;
    right: 20px;
    width: 38px;
    height: 38px;
    border: 1px solid #d9e2e8;
    border-radius: 50%;
    background: #f5f9fc;
    opacity: 1;
}
#confirm-modal .modal-header .close::before,
#confirm-modal .modal-header .close::after {
    content: "";
    position: absolute;
    top: 17px;
    left: 9px;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #1975ad;
}
#confirm-modal .modal-header .close::before { transform: rotate(45deg); }
#confirm-modal .modal-header .close::after { transform: rotate(-45deg); }
#confirm-modal .modal-header .close:hover { background: #eaf5fc; }
#confirm-modal .modal-body { padding: 88px 36px 32px; }
#confirm-modal .modal-body h2 {
    margin: 0 0 18px;
    color: #102632;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
}
#confirm-modal .modal-body .form-group { margin-bottom: 22px; }
#confirm-modal .modal-body .form-group:last-child { margin-bottom: 0; }
#confirm-modal .delivery-confirm-description {
    margin: 0;
    color: #526675;
    font-size: 16px;
    line-height: 1.6;
}
#confirm-modal .checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 15px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #f5f9fc;
}
#confirm-modal .checkbox input[type=checkbox] {
    display: block;
    position: static;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 2px 0 0;
    accent-color: #0879b5;
    cursor: pointer;
}
#confirm-modal .checkbox label {
    margin: 0;
    padding: 0;
    color: #243e4d;
    font-size: 15px;
    line-height: 24px;
    cursor: pointer;
}
#confirm-modal .checkbox label::before,
#confirm-modal .checkbox label::after { display: none; }
#confirm-modal .has-errors .checkbox { border-color: #d74a4a; }
#confirm-modal .help-block { margin: 8px 0 0; }
#confirm-modal .btn-primary {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #086ba3;
    border-radius: 10px;
    background: #0879b5;
    font-size: 14px;
    line-height: 22px;
    white-space: normal;
    letter-spacing: .3px;
    box-shadow: 0 8px 20px rgba(8, 121, 181, .2);
}
#confirm-modal .btn-primary:hover { background: #066fa7; }
#confirm-modal button:focus-visible,
#confirm-modal input:focus-visible { outline: 3px solid #76b6df; outline-offset: 3px; }
@media (max-width: 480px) {
    #confirm-modal .modal-dialog { margin: 16px auto; }
    #confirm-modal .modal-body { padding: 86px 22px 24px; }
    #confirm-modal .modal-body h2 { font-size: 24px; }
}
