.criptapro-auth-container {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #f9f9f9;
    text-align: center;
}

.criptapro-auth-btn {
    background: #0073aa;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.criptapro-auth-btn:hover {
    background: #005a87;
}

.criptapro-auth-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.criptapro-auth-status {
    margin-top: 15px;
    padding: 12px;
    border-radius: 4px;
    display: none;
    font-size: 14px;
}

.status-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.certificate-selector {
    margin: 20px 0;
    padding: 15px;
    background: white;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.certificate-list {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.certificate-item {
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.certificate-item:hover {
    background-color: #f8f9fa;
}

.criptapro-debug-container {
    max-height: 200px;
    overflow-y: auto;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 10px;
    font-family: monospace;
    font-size: 12px;
    margin-top: 10px;
}

.criptapro-confirm-dialog {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.criptapro-dialog-content {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.criptapro-btn-yes:hover {
    background: #218838 !important;
}

.criptapro-btn-no:hover {
    background: #c82333 !important;
}

@media (max-width: 768px) {
    .criptapro-auth-btn {
        width: 100%;
    }
    
    .criptapro-dialog-content {
        width: 95% !important;
        padding: 15px !important;
    }
}
