.bundle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.bundle-card {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 28px;
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bundle-card h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
}

.bundle-card p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
    font-size: 14px;
}

.bundle-price {
    margin-top: 12px;
    font-weight: 600;
    font-size: 18px;
}

.bundle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(37, 99, 235, 0.35);
}

.bundle-add {
    background: white;
    color: #2563eb;
    border: 2px dashed #2563eb;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bundle-add:hover {
    background: #f8fbff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.add-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.add-icon {
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}


/* Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal box */
.modal {
    background: white;
    width: 420px;
    max-width: 90%;
    border-radius: 18px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.25s ease;
}

/* Active state */
.modal-overlay.active {
    display: flex;
}

.modal-overlay.active .modal {
    transform: translateY(0);
    opacity: 1;
}

/* Header */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* Body */
.modal-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.modal-body input,
.modal-body textarea {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}

.modal-body textarea {
    resize: none;
    min-height: 80px;
}

/* Footer */
.modal-footer {
    margin-top: 20px;
    text-align: right;
}

.modal-save {
    background: #2563eb;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
}

.modal-delete {
    background: #eb2546;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    cursor: pointer;
}

.hidden {
    display: none;
}