/* Template Response Only */
.glr-template-response-only {
    margin: 20px 0;
}

.glr-template-response-only .glr-log-value {
    background: white;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.glr-template-response-only .glr-log-value:last-child {
    margin-bottom: 0;
}

/* Melhorias para template Card */
.glr-template-card .glr-response-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* Melhorias para template Table */
.glr-template-table .glr-view-details {
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s ease;
}

.glr-template-table .glr-details-content {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.glr-template-table .glr-details-content strong {
    color: #495057;
}

/* Template Table */
.glr-table-container {
    overflow-x: auto;
    margin: 20px 0;
}

.glr-logs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.glr-logs-table th {
    background: #f8f9fa;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #e1e5e9;
}

.glr-logs-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e1e5e9;
    color: #333;
}

.glr-logs-table tr:hover {
    background: #f8f9fa;
}

.glr-logs-table tr:last-child td {
    border-bottom: none;
}

/* Estados de erro e carregamento melhorados */
.glr-error {
    background: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
}

.glr-no-results {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin: 20px 0;
}

.glr-no-results p {
    margin: 0;
    font-size: 16px;
}

/* Animações suaves para elementos */
.glr-log-entry,
.glr-log-card {
    opacity: 0;
    transform: translateY(20px);
    animation: glr-slideIn 0.5s ease forwards;
}

@keyframes glr-slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .glr-template-response-only .glr-log-value {
        padding: 15px;
        font-size: 14px;
    }
    
    .glr-template-card .glr-response-content {
        padding: 10px;
        font-size: 13px;
    }
    
    .glr-template-table .glr-details-content {
        padding: 8px;
        font-size: 12px;
    }
}
