/* === MODAL STYLE MATCHING === */
.modal.fade .modal-dialog {
    transition: transform .3s ease-out;
    transform: translateY(30px);
}

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

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.modal-header {
    border-bottom: none;
    padding: 1.5rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header .modal-title {
    font-size: 20px;
    font-weight: 700;
}

.modal-header .close {
    background: transparent;
    border: none;
    font-size: 22px;
    opacity: 0.6;
    transition: 0.2s;
}

.modal-header .close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
}

.modal-body img {
    border-radius: 12px;
}

.modal-footer {
    border-top: none;
    padding: 1.5rem 2rem 2rem;
    display: flex;
    justify-content: flex-end;
}

.modal-footer .btn {
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
}

/* optional: gradient button style */
.modal-footer .btn-secondary {
    background: linear-gradient(135deg, #5f2c82, #49a09d);
    border: none;
    color: #fff;
}

.modal-footer .btn-secondary:hover {
    opacity: 0.9;
}