/* --- savema/static/css/certificates.css --- */

.certificate-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(133, 34, 72, 0.15) !important;
}

.stylish-modal-header {
    background-color: #852248;
    color: white;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    padding: 1.5rem;
}

.stylish-modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-body {
    background-color: #f8f9fa;
    padding: 2rem !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.document-shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 4px;
    background-color: white;
    max-width: 100%;
    max-height: 75vh;
}

.modal.fade .modal-dialog {
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.modal.show .modal-dialog {
    transform: scale(1);
    opacity: 1;
}

.breadcrumb-active { color: #852248; }