﻿/* .modal {
    position: fixed !important;
    top: 40% !important;
    left: 40% !important;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;
}

.modal {
    border: 2px solid #ff4081;
    border-radius: 20px;
    padding: 40px;
    width: 400px !important;
    height: 400px !important;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    opacity: 1;
    transition: opacity 0.4s ease;
  }

  .modal.fade-out {
    opacity: 0;
  }

  .modal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #ff4081;
    cursor: pointer;
    transition: transform 0.2s;
  }

  .modal .close-btn:hover {
    transform: scale(1.2);
  }

  .modal .check-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
  }

  .modal .title {
    font-size: 28px;
    font-weight: bold;
    color: #ff4081;
    margin-bottom: 10px;
  }

  .modal .message {
    font-size: 16px;
    color: #000;
  } */
  .modal {
    position: fixed !important;
    top: 40% !important;
    left: 40% !important;
    z-index: 1050;
    display: none;
    overflow: hidden;
    outline: 0;

    border: 2px solid #1a6733;
    border-radius: 20px;
    padding: 40px;
    width: 400px !important;
    height: 400px !important;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.modal.fade-out {
    opacity: 0;
}

.modal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #1a6733;
    cursor: pointer;
    transition: transform 0.2s;
}

.modal .close-btn:hover {
    transform: scale(1.2);
}

.modal .check-icon {
    font-size: 80px;
    color: #4CAF50;
    margin-bottom: 20px;
}

.modal .title {
    font-size: 28px;
    font-weight: bold;
    color: #1a6733;
    margin-bottom: 10px;
}

.modal .message {
    font-size: 16px;
    color: #000;
}

/* RESPONSIVE CHO MÀN HÌNH ĐIỆN THOẠI */
@media (max-width: 768px) {
    .modal {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: 90% !important;
        height: auto !important;
        padding: 20px;
    }

    .modal .check-icon {
        font-size: 60px;
    }

    .modal .title {
        font-size: 22px;
    }

    .modal .message {
        font-size: 14px;
    }

    .modal .close-btn {
        top: 10px;
        right: 15px;
        font-size: 20px;
    }
}
