.borom-log-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(21, 101, 192, 0.2);
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
}

.borom-log-btn:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    box-shadow: 0 6px 12px rgba(21, 101, 192, 0.3);
    transform: translateY(-1px);
    color: #ffffff;
}

/* Modal Overlay (Glassmorphism) */
.borom-log-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.borom-log-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Box */
.borom-log-modal {
    background: #ffffff;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.borom-log-modal-overlay.active .borom-log-modal {
    transform: translateY(0) scale(1);
}

/* Modal Header */
.borom-log-modal-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.borom-log-modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.borom-log-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: #64748b;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.borom-log-modal-close:hover {
    color: #ef4444;
}

/* Modal Body */
.borom-log-modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    background: #fdfdfd;
}

/* Loading Spinner */
.borom-log-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    color: #64748b;
    font-size: 14px;
}

.borom-log-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    animation: borom-spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes borom-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Log Table Styles */
.borom-log-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.borom-log-table th,
.borom-log-table td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.borom-log-table th {
    background: #f1f5f9;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.5px;
}

.borom-log-table tbody tr {
    transition: background 0.15s;
}

.borom-log-table tbody tr:hover {
    background: #f8fafc;
}

.borom-log-table tbody tr:last-child td {
    border-bottom: none;
}

/* Status Badges */
.borom-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

/* Red for alerts/errors, Green for normal/success, Blue for info */
.borom-badge-green {
    background: #dcfce7;
    color: #166534;
}

.borom-badge-red {
    background: #fee2e2;
    color: #991b1b;
}

.borom-badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.borom-badge-orange {
    background: #ffedd5;
    color: #9a3412;
}