* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.Disclaimerbody {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1050;
}

.Dmodal {
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 800px;
    max-height: 65vh;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.Dmodal-header {
    padding: 7px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

.Dmodal-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
}

.close-Dbtn {
    background: none;
    border: none;
    font-size: 32px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.close-Dbtn:hover {
    color: #dc2626;
}

.Dmodal-body {
    padding: 9px 7px 10px 7px;
    overflow-y: auto;
    flex: 1;
}

/* Thin scrollbar styling */
.Dmodal-body::-webkit-scrollbar {
    width: 6px;
}

.Dmodal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.Dmodal-body::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 10px;
}

.Dmodal-body::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

/* Firefox thin scrollbar */
.Dmodal-body {
    scrollbar-width: thin;
    scrollbar-color: #c0c0c0 #f1f1f1;
}

.Dmodal-body p {
    font-size: 12px;
    color: #374151;
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.Dmodal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    position: sticky;
    bottom: 0;
    background-color: #ffffff;
    z-index: 10;
    border-radius: 0 0 8px 8px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-container label {
    font-size: 13px;
    color: #374151;
    cursor: pointer;
}

.Dbtn-group {
    display: flex;
    gap: 12px;
}

.Dbtn {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.Dbtn-cancel {
    background-color: #f3f4f6;
    color: #374151;
}

.Dbtn-cancel:hover {
    background-color: #e5e7eb;
}

.Dbtn-accept {
    background-color: #2563eb;
    color: #ffffff;
}

.Dbtn-accept:hover {
    background-color: #1d4ed8;
}

.Dbtn-accept:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
    .Dmodal {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .Dmodal-body p {
        font-size: 11px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .Dbtn-group {
        width: 100%;
    }
    
    .Dbtn {
        flex: 1;
    }
}