/* Agent Panel Styles */

.agent-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.agent-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.agent-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    position: relative;
}

.agent-panel-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 600;
}

.agent-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.agent-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.agent-status-badge.active {
    background: rgba(72, 187, 120, 0.3);
    border: 1px solid rgba(72, 187, 120, 0.5);
}

.agent-status-badge.pending {
    background: rgba(237, 137, 54, 0.3);
    border: 1px solid rgba(237, 137, 54, 0.5);
    animation: pulse 2s infinite;
}

.agent-status-badge.inactive {
    background: rgba(113, 128, 150, 0.3);
    border: 1px solid rgba(113, 128, 150, 0.5);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.agent-panel-content {
    position: relative;
}

.agent-request-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.agent-request-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 12px;
}

.agent-request-info h4 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    font-weight: 600;
}

.agent-request-info p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.agent-request-time {
    font-size: 0.85rem;
    opacity: 0.8;
}

.agent-request-details {
    background: rgba(0,0,0,0.2);
    border-radius: 6px;
    padding: 12px;
    margin: 12px 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.agent-request-details strong {
    display: block;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.biometric-prompt {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 16px 0;
    animation: slideIn 0.3s ease-out;
}

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

.biometric-prompt h3 {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.biometric-prompt p {
    margin: 0 0 16px 0;
    font-size: 0.95rem;
    opacity: 0.95;
}

.biometric-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.agent-action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.agent-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.agent-btn-primary {
    background: rgba(255,255,255,0.3);
    color: white;
}

.agent-btn-primary:hover {
    background: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

.agent-btn-secondary {
    background: rgba(0,0,0,0.2);
    color: white;
}

.agent-btn-secondary:hover {
    background: rgba(0,0,0,0.3);
}

.agent-empty-state {
    text-align: center;
    padding: 32px;
    opacity: 0.8;
}

.agent-empty-state-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.agent-empty-state h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.agent-empty-state p {
    margin: 0;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Dark mode adjustments */
.dark-mode .agent-panel {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.dark-mode .agent-request-details {
    background: rgba(0,0,0,0.4);
}
