.modal-dialog {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .modal-dialog.show {
            opacity: 1;
            visibility: visible;
        }

        .modal-dialog__content {
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            width:auto;
            height:auto;
            max-width: 90%;
            max-height: 80%;                       
            overflow: hidden;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
        }

        .modal-dialog.show .modal-dialog__content {
            transform: translateY(0);
        }

        .modal-dialog__header {
            padding: 8px 20px;
            border-bottom: 1px solid #e0e0e0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color: #f5f5f5;
        }

        .modal-dialog__title {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #333;
        }

        .modal-dialog__close {
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: #666;
            padding: 0;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.2s;
        }

        .modal-dialog__close:hover {
            background-color: rgba(0, 0, 0, 0.1);
        }

        .modal-dialog__body {
            padding: 5px;
            max-height: calc(80vh - 140px);
            overflow-y: auto;
        }

        .modal-dialog__footer {
            padding: 16px 20px;
            border-top: 1px solid #e0e0e0;
            display: flex;
            justify-content: flex-end;
            gap: 10px;
            background-color: #fafafa;
        }

        .modal-dialog__button {
            padding: 8px 16px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.2s;
            border: 1px solid transparent;
        }

        .modal-dialog__button--primary {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }

        .modal-dialog__button--primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }

        .modal-dialog__button--default {
            background-color: #f8f9fa;
            color: #333;
            border-color: #ced4da;
        }

        .modal-dialog__button--default:hover {
            background-color: #e9ecef;
            border-color: #adb5bd;
        }

        @media (max-width: 768px) {
            .modal-dialog__content {
                width: 95%;
                margin: 20px;
            }
            
            .modal-dialog__body {
                padding: 15px;
            }
        }