/* ===================================================================
   DELETE DATA MODULE - PII Deletion Request Form
   Responsive design matching hamburger menu styling
   =================================================================== */

/* --- DELETE DATA CONTAINER --- */
.delete-data-container {
    width: 380px;
    max-height: 85vh;
    background: linear-gradient(135deg, #F5F1E8 0%, #FFF8F0 100%);
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 2px solid rgba(196, 30, 58, 0.1);
}

/* --- DELETE DATA HEADER --- */
.delete-data-header {
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    padding: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-bottom: 2px solid #C41E3A;
}

.delete-data-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.delete-data-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 400;
}

#delete-data-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#delete-data-close-btn:hover {
    transform: rotate(90deg);
    opacity: 0.8;
}

/* --- DELETE DATA CONTENT (scrollable) --- */
.delete-data-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.delete-data-info {
    padding: 20px;
    border-bottom: 1px solid rgba(196, 30, 58, 0.1);
    flex-shrink: 0;
}

.delete-data-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #C41E3A;
}

.delete-data-info p {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.delete-info-list {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.delete-info-list li {
    margin-bottom: 8px;
}

.delete-info-list ol {
    counter-reset: item;
    list-style-type: none;
    padding-left: 0;
}

.delete-info-list ol li {
    counter-increment: item;
    margin-bottom: 8px;
}

.delete-info-list ol li:before {
    content: counter(item) ". ";
    font-weight: 700;
    color: #C41E3A;
    margin-right: 6px;
}

/* --- DELETE DATA FORM --- */
.delete-data-form {
    padding: 20px;
    border-top: 1px solid rgba(196, 30, 58, 0.1);
    flex-shrink: 0;
}

.delete-data-form h3 {
    font-size: 14px;
    font-weight: 700;
    color: #C41E3A;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group {
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.form-group label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #C41E3A;
}

.form-group input[type="email"] {
    padding: 10px 12px;
    border: 1px solid rgba(196, 30, 58, 0.3);
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    background: white;
    color: #1a1a1a;
    transition: all 0.2s ease;
}

.form-group input[type="email"]:focus {
    outline: none;
    border-color: #C41E3A;
    box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.1);
    background: #fff;
}

.form-group input[type="email"]::placeholder {
    color: #999;
}

/* --- SUBMIT BUTTON --- */
.delete-submit-btn {
    width: 100%;
    padding: 12px 16px;
    background: linear-gradient(135deg, #C41E3A 0%, #8B0000 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.delete-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.delete-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.delete-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #999999 0%, #666666 100%);
}

/* --- FORM NOTE --- */
.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 12px;
    padding: 10px;
    background: rgba(196, 30, 58, 0.05);
    border-radius: 6px;
    border-left: 3px solid #C41E3A;
}

/* --- DELETE RESPONSE (success/error messages) --- */
.delete-response {
    padding: 16px;
    border-radius: 8px;
    margin-top: 12px;
    display: none;
    animation: slideInUp 0.3s ease;
}

.delete-response.success {
    background: #E8F5E9;
    border-left: 4px solid #4CAF50;
    color: #2E7D32;
}

.delete-response.error {
    background: #FFEBEE;
    border-left: 4px solid #F44336;
    color: #C62828;
}

.delete-response.info {
    background: #E3F2FD;
    border-left: 4px solid #2196F3;
    color: #0D47A1;
}

.response-content h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.response-content p {
    font-size: 13px;
    margin: 8px 0;
    line-height: 1.5;
}

.response-note {
    font-size: 12px;
    font-style: italic;
    opacity: 0.8;
    margin-top: 8px !important;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SCROLLBAR STYLING --- */
.delete-data-info::-webkit-scrollbar,
.delete-data-form::-webkit-scrollbar {
    width: 6px;
}

.delete-data-info::-webkit-scrollbar-track,
.delete-data-form::-webkit-scrollbar-track {
    background: transparent;
}

.delete-data-info::-webkit-scrollbar-thumb,
.delete-data-form::-webkit-scrollbar-thumb {
    background: rgba(196, 30, 58, 0.3);
    border-radius: 3px;
}

.delete-data-info::-webkit-scrollbar-thumb:hover,
.delete-data-form::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 30, 58, 0.5);
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 480px) {
    .delete-data-container {
        width: 90vw;
        max-width: 380px;
        max-height: 80vh;
        border-radius: 20px;
    }

    .delete-data-header {
        padding: 16px;
    }

    .delete-data-header h2 {
        font-size: 16px;
    }

    .delete-data-subtitle {
        font-size: 12px;
    }

    .delete-data-info {
        padding: 16px;
    }

    .delete-data-info h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .delete-data-info p {
        font-size: 12px;
    }

    .delete-info-list {
        font-size: 12px;
        padding-left: 18px;
    }

    .delete-data-form {
        padding: 16px;
    }

    .delete-data-form h3 {
        font-size: 13px;
    }

    .form-group input[type="email"] {
        font-size: 14px;
        padding: 10px;
    }

    .delete-submit-btn {
        font-size: 12px;
        padding: 10px 14px;
    }

    .form-note {
        font-size: 11px;
    }

    .response-content h4 {
        font-size: 13px;
    }

    .response-content p {
        font-size: 12px;
    }

    .response-note {
        font-size: 11px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .delete-data-container {
        width: 85vw;
        max-width: 380px;
    }
}
