﻿.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: #1e1e24;
    border: 1px solid #3a3a42;
    border-radius: 12px;
    padding: 24px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #3a3a42;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.modal-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #10b981;
}

.modal-close {
    background: transparent;
    border: none;
    color: #a0a0a8;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

    .modal-close:hover {
        color: #ffffff;
    }

.modal-body table {
    width: 100%;
    border-collapse: collapse;
}

.modal-body th, .modal-body td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #2d2d34;
}

.modal-body th {
    background-color: #2d2d34;
    color: #a0a0a8;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.modal-body td {
    color: #e2e2e8;
    font-size: 0.9rem;
}

.badge-success {
    background: #10b981;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.badge-failed {
    background: #ef4444;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
}

.tr-clickable {
    cursor: pointer;
    transition: background 0.2s;
}

    .tr-clickable:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }
