﻿.tamm-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    animation: fadeIn .2s ease;
}

.tamm-modal {
    width: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(15,23,42,.28);
    animation: scaleIn .25s ease;
}

.modal-sm {
    max-width: 500px;
}

.modal-md {
    max-width: 700px;
}

.modal-lg {
    max-width: 1000px;
}

.modal-xl {
    max-width: 1300px;
}

.tamm-modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .tamm-modal-header h3 {
        margin: 0;
        font-size: 30px;
        font-weight: 800;
        color: #0f172a;
    }

    .tamm-modal-header p {
        margin-top: 6px;
        color: #64748b;
    }

.modal-close-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 18px;
    cursor: pointer;
    transition: .2s;
}

    .modal-close-btn:hover {
        background: #4f46e5;
        color: white;
    }

.tamm-modal-body {
    padding: 32px;
    max-height: 70vh;
    overflow-y: auto;
}

.tamm-modal-footer {
    padding: 24px 32px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {

    from {
        opacity: 0;
        transform: scale(.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
