/* ============================================== */
.docboon-deletion-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    margin: 0;
}
.docboon-deletion-wrapper .card-logo img.deletion-logo {
    max-width: 120px;
    height: auto;
    display: inline-block;
}
.form-group label.required::after {
    content: " *";
    color: #e11d48;
    font-weight: 700;
}

.validation-error {
    color: #e11d48;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}
textarea#comments {
    height: 105px;
}
input.error,
textarea.error {
    border-color: #e11d48;
}

.docboon-deletion-wrapper .deletion-card {
    max-width: 650px;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.docboon-deletion-wrapper .card-header {
    padding: 10px 30px 20px;
    text-align: center;
}
.docboon-deletion-wrapper .card-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.docboon-deletion-wrapper .card-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.docboon-deletion-wrapper .divider {
    height: 1px;
    background-color: #eee;
    border: none;
    margin: 0;
}

.docboon-deletion-wrapper .deletion-form {
    padding: 30px;
}

.docboon-deletion-wrapper .form-group {
    margin-bottom: 18px;
}

.docboon-deletion-wrapper .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.docboon-deletion-wrapper .form-group input,
.docboon-deletion-wrapper .form-group select,
.docboon-deletion-wrapper .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    background-color: #fff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    /* Keeps padding inside width */
}

.docboon-deletion-wrapper .form-group input:focus,
.docboon-deletion-wrapper .form-group select:focus,
.docboon-deletion-wrapper .form-group textarea:focus {
    outline: none;
    border-color: #24aeb1;
    box-shadow: 0 0 0 3px rgba(232, 97, 45, 0.15);
}

.docboon-deletion-wrapper .warning-note {
    background-color: #fff5f2;
    border-left: 4px solid #24aeb1;
    padding: 12px 15px;
    margin-bottom: 25px;
    border-radius: 4px;
}

.docboon-deletion-wrapper .warning-note p {
    font-size: 12px;
    color: #24aeb1;
    margin: 0;
    line-height: 1.4;
}

.docboon-deletion-wrapper .submit-btn {
    width: 100%;
    background-color: #24aeb1;
    color: #fff;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s active;
    box-shadow: 0 4px 12px rgba(232, 97, 45, 0.2);
}

.docboon-deletion-wrapper .form-group textarea#reason {
    min-height: 45px;
    max-height: 150px;
    line-height: 1.5;
    overflow-y: auto;
    resize: none;
    box-sizing: border-box;
}

.docboon-deletion-wrapper .submit-btn:hover {
    background-color: #24aeb1;
}

.docboon-deletion-wrapper .submit-btn:active {
    transform: scale(0.98);
}


/* modal css */
.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    /* hidden by default */
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

.confirm-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.confirm-modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 350px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);

    /* scale animation */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.confirm-modal.active .confirm-modal-content {
    transform: scale(1);
}

.confirm-modal-content h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.confirm-modal-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.modal-cancel {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.modal-confirm {
    padding: 8px 14px;
    background: #24aeb1;
    border: none;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}


@media (max-width: 768px) {
    .docboon-deletion-wrapper .deletion-card {
        max-width: 90%;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .docboon-deletion-wrapper .deletion-card {
        max-width: 95%;
        padding: 15px;
    }
 .docboon-deletion-wrapper .card-logo img.deletion-logo {
     max-width: 90px;
 }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 14px;
    }

    .docboon-deletion-wrapper .deletion-form {
        padding: 0px;
    }

    .submit-btn {
        padding: 12px;
        font-size: 14px;
    }

    textarea#comments {
        height: 80px;
    }

    .docboon-deletion-wrapper .card-header h1 {
        font-size: 18px;

    }

    .docboon-deletion-wrapper .card-header {
        padding: 10px 1px 20px;
        text-align: left;
    }
.docboon-deletion-wrapper .form-group label {
    font-size: 10px;
}

    /* modal */
    .confirm-modal-content h3 {
        margin-top: 0;
        font-size: 16px;
    }

    .confirm-modal-content {
        padding: 19px;
width: 250px;
    }
}