﻿/* Modal Overlay */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.custom-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content Box */
.custom-modal-content {
    background: white;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    transform: scale(0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.custom-modal-overlay.active .custom-modal-content {
    transform: scale(1);
}

/* Close Button */
.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px;
}

.custom-modal-close:hover {
    color: #ff4757;
    transform: rotate(90deg);
}

/* Modal Header & Body */
.modal-header-content {
    text-align: center;
    margin-bottom: 20px;
}

.modal-header-content i {
    font-size: 40px;
    color: #2e7d32;
    margin-bottom: 15px;
    background: #e8f5e9;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
}

.modal-header-content h2 {
    color: #333;
    font-size: 28px;
    margin: 0;
}

.modal-body-content {
    color: #555;
    line-height: 1.6;
    font-size: 16px;
    text-align: center;
}

.modal-body-content h4 {
    color: #2e7d32;
    margin-top: 15px;
    margin-bottom: 10px;
}

.modal-body-content ul {
    text-align: left;
    margin: 15px auto;
    max-width: 400px;
    list-style: none;
}

.modal-body-content ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modal-body-content ul li::before {
    content: "•";
    color: #2e7d32;
    font-weight: bold;
    position: absolute;
    left: 0;
}